diff --git a/backend.native/tests/build.gradle b/backend.native/tests/build.gradle index 0f7ab994153..e707c63942a 100644 --- a/backend.native/tests/build.gradle +++ b/backend.native/tests/build.gradle @@ -850,7 +850,7 @@ standaloneTest("readline1") { } task tostring0(type: KonanLocalTest) { - goldValue = "127\n-1\n239\nA\nЁ\nト\n1122334455\n112233445566778899\n3.14159265358\n1.0E27\n1.0E-300\ntrue\nfalse\n" + goldValue = "127\n-1\n239\nA\nЁ\nト\n1122334455\n112233445566778899\n3.14159265358\n1.0E27\n1.0E7\n1.0E-300\ntrue\nfalse\n" source = "runtime/basic/tostring0.kt" } diff --git a/backend.native/tests/runtime/basic/tostring0.kt b/backend.native/tests/runtime/basic/tostring0.kt index 73c8c7404ce..aebff72d9c1 100644 --- a/backend.native/tests/runtime/basic/tostring0.kt +++ b/backend.native/tests/runtime/basic/tostring0.kt @@ -20,6 +20,7 @@ import kotlin.test.* println(3.14159265358.toString()) // Here we differ from Java, as have no dtoa() yet. println(1e27.toFloat().toString()) + println(1e7.toString()) println(1e-300.toDouble().toString()) println(true.toString()) println(false.toString())