Skip to content

Commit 857c874

Browse files
committed
Fix neg test
1 parent f0e24ab commit 857c874

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

tests/neg/spaces-vs-tabs.check

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,11 @@
1717
| Previous indent : 2 tabs
1818
| Latest indent : 1 tab, 2 spaces
1919
-- Error: tests/neg/spaces-vs-tabs.scala:8:1 ---------------------------------------------------------------------------
20-
8 | else () // error // error
20+
8 | else () // error
2121
| ^
2222
| Incompatible combinations of tabs and spaces in indentation prefixes.
2323
| Previous indent : 2 tabs
2424
| Latest indent : 1 space
25-
-- [E040] Syntax Error: tests/neg/spaces-vs-tabs.scala:8:6 -------------------------------------------------------------
26-
8 | else () // error // error
27-
| ^
28-
| ';' expected, but '(' found
2925
-- Error: tests/neg/spaces-vs-tabs.scala:14:2 --------------------------------------------------------------------------
3026
14 | else 2 // error // error
3127
| ^

tests/neg/spaces-vs-tabs.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ object Test
55
println(2) // error
66
println(3) // error
77
println(4) // error
8-
else () // error // error
8+
else () // error
99

1010
object Test2
1111

0 commit comments

Comments
 (0)