From b5a8d6492d0e172286472f7c271ac9deaa51fac0 Mon Sep 17 00:00:00 2001 From: JUnit Team Date: Fri, 12 Apr 2024 19:23:03 +0000 Subject: [PATCH] Generated by gradle-git-publish. --- docs/snapshot/user-guide/index.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/snapshot/user-guide/index.html b/docs/snapshot/user-guide/index.html index d533507c0577..4e238c5dbd7d 100644 --- a/docs/snapshot/user-guide/index.html +++ b/docs/snapshot/user-guide/index.html @@ -1917,6 +1917,7 @@

} @Test + @extensions.DisabledOnOpenJ9 fun `expected exception testing`() { val calculator = Calculator() val exception = assertThrows<ArithmeticException> ("Should throw an exception") { @@ -11504,7 +11505,7 @@

< .assertThatEvents().haveExactly(1, (5) event(test("failingTest"), finishedWithFailure( - instanceOf(ArithmeticException.class), message("/ by zero")))); + instanceOf(ArithmeticException.class), message(it -> it.endsWith("by zero"))))); } } @@ -11612,7 +11613,7 @@

< message(m -> m.contains("abc does not contain Z")))), event(test("failingTest"), started()), event(test("failingTest"), finishedWithFailure( - instanceOf(ArithmeticException.class), message("/ by zero"))), + instanceOf(ArithmeticException.class), message(it -> it.endsWith("by zero")))), event(container(ExampleTestCase.class), finishedSuccessfully()), event(engine(), finishedSuccessfully())); }