Added test annotations

This commit is contained in:
Daniel Penkin
2012-04-20 21:18:43 +04:00
parent 5436801487
commit ebf261e92d
+2 -2
View File
@@ -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'))