Skip to content

Commit da0d1d9

Browse files
committed
Properly hide @⁠DisabledOnOpenJ9 in KotlinAssertionsDemo
1 parent 27f3b7c commit da0d1d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

documentation/src/test/kotlin/example/KotlinAssertionsDemo.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ class KotlinAssertionsDemo {
3838
assertEquals(0, result)
3939
}
4040

41-
// tag::user_guide[]
42-
@Test
4341
// end::user_guide[]
4442
@extensions.DisabledOnOpenJ9
43+
// tag::user_guide[]
44+
@Test
4545
fun `expected exception testing`() {
4646
val calculator = Calculator()
4747
val exception = assertThrows<ArithmeticException> ("Should throw an exception") {

0 commit comments

Comments
 (0)