Skip to content

Commit 707c6c8

Browse files
committed
Update the test base to test other forms of parametrizedTest.
1 parent c1e314a commit 707c6c8

File tree

1 file changed

+2
-0
lines changed
  • formats/json-tests/commonTest/src/kotlinx/serialization/json

1 file changed

+2
-0
lines changed

formats/json-tests/commonTest/src/kotlinx/serialization/json/JsonTestBase.kt

+2
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ abstract class JsonTestBase {
138138
add(runCatching { test(JsonTestingMode.TREE) })
139139
add(runCatching { test(JsonTestingMode.OKIO_STREAMS) })
140140
add(runCatching { test(JsonTestingMode.KXIO_STREAMS) })
141+
add(runCatching { test(JsonTestingMode.EFFICIENT_BINARY) }
142+
.recover { e -> if ("Json format" in (e.message ?: "")) Unit else throw e })
141143

142144
if (isJvm()) {
143145
add(runCatching { test(JsonTestingMode.JAVA_STREAMS) })

0 commit comments

Comments
 (0)