Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

Commit

Permalink
is it the message?
Browse files Browse the repository at this point in the history
  • Loading branch information
paulpach committed Apr 8, 2020
1 parent 0813385 commit 8f1a352
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ jobs:
with:
path: '__tests__/*.xml'
access-token: ${{secrets.GITHUB_TOKEN}}
numFailures: 4
numFailures: 5
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2264,7 +2264,7 @@ function testCaseAnnotation(testcase) {
const stacktrace = 'stack-trace' in testcase.failure
? testcase.failure['stack-trace'].substring(0, 65536)
: '';
return new Annotation(sanitizedFilename, lineno, lineno, 0, 0, 'failure', `Failed test ${methodname} in ${classname}`, message, stacktrace);
return new Annotation(sanitizedFilename, lineno, lineno, 0, 0, 'failure', `Failed test ${methodname} in ${classname}`, 'message', stacktrace);
}
exports.testCaseAnnotation = testCaseAnnotation;
function testCaseDetails(testcase) {
Expand Down
2 changes: 1 addition & 1 deletion src/nunit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export function testCaseAnnotation(testcase: any): Annotation {
0,
'failure',
`Failed test ${methodname} in ${classname}`,
message.substring(0,25),
'message',
stacktrace
)
}
Expand Down

0 comments on commit 8f1a352

Please sign in to comment.