Skip to content

Commit 2994d53

Browse files
committed
Fixes hi test
1 parent 125d59d commit 2994d53

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
-- Warning: tests/neg-custom-args/sourcepath2/hi/A.scala:3:6 -----------------------------------------------------------
2-
3 |class Hello { // warn
1+
-- Error: tests/neg-custom-args/sourcepath2/hi/A.scala:3:6 -------------------------------------------------------------
2+
3 |class Hello { // error
33
| ^
44
| class Hello is in the wrong directory.
55
| It was declared to be in package <empty>
66
| But it is found in directory hi
7-
No warnings can be incurred under -Werror.
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// Missing `package hi`
22

3-
class Hello { // warn
3+
class Hello { // error
44
val x: Int = 1
55
}
6-
// nopos-error: werror

0 commit comments

Comments
 (0)