Skip to content

Commit

Permalink
Closes #6
Browse files Browse the repository at this point in the history
  • Loading branch information
nickbradley committed Feb 21, 2017
1 parent 5c2a073 commit f156cab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model/results/TestRecord.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ export default class TestRecord implements DatabaseRecord {


let content: string = matches[1];
let failedTestsRegex: RegExp = /^ \d+\) [\s\S]*\n\n$/gm;
let failedTestsRegex: RegExp = /^ (\d+\)| throw) [\s\S]*$/gm;
let failedTests: string[] = failedTestsRegex.exec(content);

return {content: failedTests[0], exitcode: exitcode};
Expand Down

0 comments on commit f156cab

Please sign in to comment.