Skip to content

Commit

Permalink
Properly hide @⁠DisabledOnOpenJ9 in KotlinAssertionsDemo
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed Apr 20, 2024
1 parent 27f3b7c commit da0d1d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions documentation/src/test/kotlin/example/KotlinAssertionsDemo.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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<ArithmeticException> ("Should throw an exception") {
Expand Down

0 comments on commit da0d1d9

Please sign in to comment.