Minor: moved test for check the iterating over String to common place.

#KT-3617 Fixed
This commit is contained in:
Zalim Bashorov
2014-10-22 16:41:32 +04:00
parent 70d0c2ff92
commit 624f5c4c34
2 changed files with 7 additions and 7 deletions
@@ -6,13 +6,6 @@ import kotlin.test.*
import org.junit.Test as test
class StringJVMTest {
test fun stringIterator() {
var sum = 0
for(c in "239")
sum += (c.toInt() - '0'.toInt())
assertTrue(sum == 14)
}
test fun stringBuilderIterator() {
var sum = 0
val sb = StringBuilder()