diff options
Diffstat (limited to 'test/junit/scala/tools/testing/AssertThrowsTest.scala')
-rw-r--r-- | test/junit/scala/tools/testing/AssertThrowsTest.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/junit/scala/tools/testing/AssertThrowsTest.scala b/test/junit/scala/tools/testing/AssertThrowsTest.scala index d91e450bac..76758f51d2 100644 --- a/test/junit/scala/tools/testing/AssertThrowsTest.scala +++ b/test/junit/scala/tools/testing/AssertThrowsTest.scala @@ -38,6 +38,6 @@ class AssertThrowsTest { } catch { case e: AssertionError => return } - assert(false, "assertThrows should error if the tested expression does not throw anything") + fail("assertThrows should error if the tested expression does not throw anything") } } |