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,3 @@
// EXPECTED_ERROR class J$B is public, should be declared in a file named J$B.java
// FILE: test/JavaClass.java
package test;
@@ -83,4 +81,6 @@ class `A$B` {
class Test1(val zoo: Foo.Bar.Zoo) : Foo.Bar(), IFoo.IBar, IFoo.IBar.IZoo {
fun a(): Thread.State = Thread.State.NEW
fun b(foo: JavaClass.Foo, bar: JavaClass.Foo.Bar) {}
}
}
// EXPECTED_ERROR class J$B is public, should be declared in a file named J$B.java