Skip to content

Commit b8931e8

Browse files
committed
Replace junit.framework.TestCase with org.junit.jupiter.api.Assertions
1 parent d4070a7 commit b8931e8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/test/kotlin/com/fasterxml/jackson/module/kotlin/test/FailNullForPrimitiveTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import com.fasterxml.jackson.databind.DeserializationFeature
44
import com.fasterxml.jackson.databind.exc.MismatchedInputException
55
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
66
import com.fasterxml.jackson.module.kotlin.readValue
7-
import junit.framework.TestCase.assertEquals
7+
import org.junit.jupiter.api.Assertions.assertEquals
88
import org.junit.jupiter.api.Assertions.assertThrows
99
import org.junit.jupiter.api.Test
1010

src/test/kotlin/com/fasterxml/jackson/module/kotlin/test/VarargDeserTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ package com.fasterxml.jackson.module.kotlin.test
22

33
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
44
import com.fasterxml.jackson.module.kotlin.readValue
5-
import junit.framework.TestCase.assertEquals
6-
import junit.framework.TestCase.assertTrue
5+
import org.junit.jupiter.api.Assertions.assertEquals
6+
import org.junit.jupiter.api.Assertions.assertTrue
77
import org.junit.jupiter.api.Nested
88
import org.junit.jupiter.api.Test
99

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package com.fasterxml.jackson.module.kotlin.test.github
33
import com.fasterxml.jackson.annotation.JsonKey
44
import com.fasterxml.jackson.module.kotlin.jacksonMapperBuilder
55
import com.fasterxml.jackson.module.kotlin.testPrettyWriter
6-
import junit.framework.TestCase.assertEquals
6+
import org.junit.jupiter.api.Assertions.assertEquals
77
import org.junit.jupiter.api.Test
88

99
class Github536 {

0 commit comments

Comments
 (0)