[tests] string builder appendln tests

This commit is contained in:
Vasily Levchenko
2017-09-21 14:42:08 +03:00
committed by Vasily Levchenko
parent 4f6178fb1f
commit 197f77f8e3
2 changed files with 11 additions and 0 deletions
+6
View File
@@ -1380,6 +1380,12 @@ task string_builder0(type: RunKonanTest) {
source = "runtime/text/string_builder0.kt"
}
task string_builder1(type: RunKonanTest) {
expectedFail = (project.testTarget == 'wasm32') // Uses exceptions.
goldValue = "HelloKotlin\n42\n0.1\ntrue\n\n"
source = "runtime/text/string_builder1.kt"
}
task string0(type: RunKonanTest) {
goldValue = "true\ntrue\nПРИВЕТ\nпривет\nПока\ntrue\n"
source = "runtime/text/string0.kt"