Skip to content

Commit

Permalink
return -1 when the tests fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Szabo Bogdan committed Jun 1, 2023
1 parent 9cb55bf commit bc4ad2d
Show file tree
Hide file tree
Showing 3 changed files with 203 additions and 128 deletions.
2 changes: 1 addition & 1 deletion source/trial/interfaces.d
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ string toJsonString(Throwable throwable) {
/// convert a Throwable to json
unittest {
auto exception = new Exception("some message", __FILE__, 58);
exception.toJsonString.should.equal(`{"file":"source/interfaces.d","line":"58","msg":"some message","info":"null","raw":"object.Exception@source/interfaces.d(58): some message"}`);
exception.toJsonString.should.equal(`{"file":"source/trial/interfaces.d","line":"58","msg":"some message","info":"null","raw":"object.Exception@source/trial/interfaces.d(58): some message"}`);
}

/// A listener that provides test cases to be executed
Expand Down
Loading

0 comments on commit bc4ad2d

Please sign in to comment.