[K/N] Migrate some runtime/basic tests to new testing infra ^KT-61259

This commit is contained in:
Alexander Shabalin
2023-10-25 18:15:18 +02:00
committed by Space Team
parent 4fa121071a
commit fa9c620261
35 changed files with 448 additions and 636 deletions
@@ -151,4 +151,10 @@ class StringNativeTest {
assertEquals(expected = "\u1FFFString", actual = "\u00A0 \u1FFFString".trim(),
message = "Trim special whitespace but should left a unicode symbol")
}
@Test
fun subSequence() {
assertEquals("ello", "Hello world".subSequence(1, 5).toString())
assertEquals("", "Hello world".subSequence(1, 1).toString())
}
}