Skip to content

Commit

Permalink
Align actual test with test description (bazelbuild#790)
Browse files Browse the repository at this point in the history
Exception handler is in line 1002, corresponding probe is 1.
  • Loading branch information
marchof authored and Godin committed Nov 19, 2018
1 parent 2ea3243 commit 276e1cb
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -747,13 +747,12 @@ public void try_catch_should_show_missed_when_no_probes_are_executed() {
public void try_catch_should_show_exception_handler_missed_when_probe_is_not_executed() {
createTryCatchBlock();
probes[0] = true;
probes[1] = true;
probes[0] = true;
probes[2] = true;
runMethodAnalzer();

assertLine(1001, 0, 3, 0, 0);
assertLine(1002, 0, 1, 0, 0);
assertLine(1003, 1, 0, 0, 0);
assertLine(1002, 1, 0, 0, 0);
assertLine(1003, 0, 1, 0, 0);
}

@Test
Expand Down

0 comments on commit 276e1cb

Please sign in to comment.