Minor, tests: Move EXPECTED_ERROR directives to the file end (to preserve stable line numbers)

This commit is contained in:
Yan Zhulanow
2018-09-05 17:40:55 +03:00
parent c517b85de1
commit 72637268c6
9 changed files with 43 additions and 41 deletions
+4 -4
View File
@@ -1,8 +1,5 @@
// STRICT_MODE
// EXPECTED_ERROR(kotlin:12:9) cannot find symbol
// EXPECTED_ERROR(other:-1:-1) Can't generate a stub for 'Foo$Bar$Bar'.
class Foo(private val string: String) {
val bar = Bar("bar")
@@ -11,4 +8,7 @@ class Foo(private val string: String) {
val bars: ArrayList<Bar> = ArrayList()
}
}
}
// EXPECTED_ERROR(kotlin:9:9) cannot find symbol
// EXPECTED_ERROR(other:-1:-1) Can't generate a stub for 'Foo$Bar$Bar'.