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
@@ -1,5 +1,4 @@
// CORRECT_ERROR_TYPES
// EXPECTED_ERROR(kotlin:9:5) cannot find symbol
// JAVAC_OPTION -Xmaxerrs=1
@file:Suppress("UNRESOLVED_REFERENCE")
@@ -10,4 +9,6 @@ class Test {
}
// There are two errors (unresolved identifier ABC, BCD) actually.
// But we specified the max error count, so the error output is limited.
// But we specified the max error count, so the error output is limited.
// EXPECTED_ERROR(kotlin:8:5) cannot find symbol