From d2686f24572df745f59f90cf44ec68465ba9ec55 Mon Sep 17 00:00:00 2001 From: Vladimir Ivanov Date: Thu, 4 Jun 2020 13:18:23 +0300 Subject: [PATCH] [tests] Update deprecated utf8 method (#4214) --- backend.native/tests/interop/libiconv.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend.native/tests/interop/libiconv.kt b/backend.native/tests/interop/libiconv.kt index 0cf3c4d2db2..3dc58ba4610 100644 --- a/backend.native/tests/interop/libiconv.kt +++ b/backend.native/tests/interop/libiconv.kt @@ -9,7 +9,7 @@ import platform.posix.size_tVar fun main(args: Array) { - val sourceByteArray = "Hello!".toUtf8() + val sourceByteArray = "Hello!".encodeToByteArray() val golden = listOf(0x48, 0x65, 0x6C, 0x6C, 0x6F, 0x21)