Skip to content

Commit 24e6be9

Browse files
committed
Fix test definition
1 parent d1f80a7 commit 24e6be9

File tree

1 file changed

+4
-2
lines changed
  • src/test/kotlin/com/fasterxml/jackson/module/kotlin/test/github

1 file changed

+4
-2
lines changed

src/test/kotlin/com/fasterxml/jackson/module/kotlin/test/github/Github148.kt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package com.fasterxml.jackson.module.kotlin.test.github
22

33
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
4+
import org.junit.jupiter.api.Nested
45
import org.junit.jupiter.api.Test
56
import kotlin.test.assertEquals
67

@@ -32,7 +33,8 @@ class TestGithub148 {
3233
val type: IncorrectType
3334
)
3435

35-
class DemoApplicationTests {
36+
@Nested
37+
inner class DemoApplicationTests {
3638
val objectMapper = jacksonObjectMapper()
3739

3840
@Test
@@ -45,4 +47,4 @@ class TestGithub148 {
4547
assertEquals("{\"name\":\"incorrent\",\"type\":\"TYPEA\"}", objectMapper.writeValueAsString(IncorrentBean("incorrent", IncorrectType.TYPEA)))
4648
}
4749
}
48-
}
50+
}

0 commit comments

Comments
 (0)