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,9 +1,9 @@
// EXPECTED_ERROR(kotlin:8:1) cannot find symbol
// EXPECTED_ERROR(other:-1:-1) 'WHI-TE' is an invalid Java enum value name
enum class Color {
BLACK, `WHI-TE`
}
@Anno(Color.`WHI-TE`)
annotation class Anno(val color: Color)
annotation class Anno(val color: Color)
// EXPECTED_ERROR(kotlin:5:1) cannot find symbol
// EXPECTED_ERROR(other:-1:-1) 'WHI-TE' is an invalid Java enum value name