Remove double stop() test in StopWatchTest

StopWatchTest#testBadStates has the same block of code testing
StopWatch#stop copy-pasted.
This patch cleans it up by removing one of those blocks.
This commit is contained in:
Allon Mureinik 2018-10-13 17:16:54 +03:00 committed by pascalschumacher
parent fde19e79d5
commit 0fa0bfd8bb
1 changed files with 0 additions and 7 deletions

View File

@ -174,13 +174,6 @@ public class StopWatchTest {
// expected
}
try {
watch.stop();
fail("Calling stop on an unstarted StopWatch should throw an exception. ");
} catch (final IllegalStateException ise) {
// expected
}
try {
watch.suspend();
fail("Calling suspend on an unstarted StopWatch should throw an exception. ");