Skip to content

Commit

Permalink
~review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
shanshin committed Sep 8, 2022
1 parent b1d2fd6 commit 0e1a89b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -15,7 +15,7 @@ import kotlin.native.concurrent.*
import kotlin.reflect.*
import kotlin.time.Duration

@Suppress("OPT_IN_USAGE")
@OptIn(ExperimentalUnsignedTypes::class)
@SharedImmutable
private val BUILTIN_SERIALIZERS = mapOf(
String::class to String.serializer(),
Expand Down
Expand Up @@ -95,7 +95,7 @@ class UnsignedIntegersTest : JsonTestBase() {
assertJsonFormAndRestored(ULong.serializer(), 9223372036854775817U, "9223372036854775817")
}

@Suppress("OPT_IN_USAGE")
@OptIn(ExperimentalUnsignedTypes::class)
@Test
fun testRootArrays() = parametrizedTest {
assertJsonFormAndRestoredCustom(
Expand Down Expand Up @@ -124,7 +124,7 @@ class UnsignedIntegersTest : JsonTestBase() {
}

// TODO uncomment when Kotlin 1.8.0 is released
// @Suppress("OPT_IN_USAGE")
// @OptIn(ExperimentalUnsignedTypes::class)
// fun testArrays() {
// val data = UnsignedArrays(
// ubyteArrayOf(1U, 220U),
Expand Down

0 comments on commit 0e1a89b

Please sign in to comment.