Skip to content

Commit

Permalink
[TEST] fix CurrentTestFailedMarker to reset its state after each test
Browse files Browse the repository at this point in the history
The currently used method `testRunStarted` is only called before any tests have been run, we need to reset that state before each test, that's why we need to use `testStarted`.
  • Loading branch information
javanna committed Oct 7, 2014
1 parent 0408f90 commit 6cc7431
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public void testFailure(Failure failure) throws Exception {
}

@Override
public void testRunStarted(Description description) throws Exception {
public void testStarted(Description description) throws Exception {
failed.set(false);
}

Expand Down

0 comments on commit 6cc7431

Please sign in to comment.