diff --git a/documentation/src/test/kotlin/example/KotlinAssertionsDemo.kt b/documentation/src/test/kotlin/example/KotlinAssertionsDemo.kt index e2712c4a23a8..49d6a392f190 100644 --- a/documentation/src/test/kotlin/example/KotlinAssertionsDemo.kt +++ b/documentation/src/test/kotlin/example/KotlinAssertionsDemo.kt @@ -38,10 +38,10 @@ class KotlinAssertionsDemo { assertEquals(0, result) } - // tag::user_guide[] - @Test // end::user_guide[] @extensions.DisabledOnOpenJ9 + // tag::user_guide[] + @Test fun `expected exception testing`() { val calculator = Calculator() val exception = assertThrows ("Should throw an exception") {