[K/N] Migrate some runtime/basic tests to new testing infra ^KT-61259
This commit is contained in:
committed by
Space Team
parent
4fa121071a
commit
fa9c620261
@@ -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())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user