Added test annotations
This commit is contained in:
@@ -66,13 +66,13 @@ class StringTest {
|
||||
assertEquals(s, list[0])
|
||||
}
|
||||
|
||||
fun testStartsWithChar() {
|
||||
test fun testStartsWithChar() {
|
||||
assertTrue("abcd".startsWith('a'))
|
||||
assertFalse("abcd".startsWith('b'))
|
||||
assertFalse("".startsWith('a'))
|
||||
}
|
||||
|
||||
fun testEndsWithChar() {
|
||||
test fun testEndsWithChar() {
|
||||
assertTrue("abcd".endsWith('d'))
|
||||
assertFalse("abcd".endsWith('b'))
|
||||
assertFalse("".endsWith('a'))
|
||||
|
||||
Reference in New Issue
Block a user