Skip to content

Commit

Permalink
Fixes hi test
Browse files Browse the repository at this point in the history
  • Loading branch information
szymon-rd committed Dec 17, 2023
1 parent 125d59d commit 2994d53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions tests/neg-custom-args/sourcepath2/hi/A.check
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
-- Warning: tests/neg-custom-args/sourcepath2/hi/A.scala:3:6 -----------------------------------------------------------
3 |class Hello { // warn
-- Error: tests/neg-custom-args/sourcepath2/hi/A.scala:3:6 -------------------------------------------------------------
3 |class Hello { // error
| ^
| class Hello is in the wrong directory.
| It was declared to be in package <empty>
| But it is found in directory hi
No warnings can be incurred under -Werror.
3 changes: 1 addition & 2 deletions tests/neg-custom-args/sourcepath2/hi/A.scala
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Missing `package hi`

class Hello { // warn
class Hello { // error
val x: Int = 1
}
// nopos-error: werror

0 comments on commit 2994d53

Please sign in to comment.