Skip to content

Commit 51c6646

Browse files
committed
Update test error count
One error gest supporessed now because it has the same position as a previous one.
1 parent 24ef49b commit 51c6646

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/dotc/tests.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ class tests extends CompilerTest {
143143
@Test def neg_badAuxConstr = compileFile(negDir, "badAuxConstr", xerrors = 2)
144144
@Test def neg_typetest = compileFile(negDir, "typetest", xerrors = 1)
145145
@Test def neg_t1569_failedAvoid = compileFile(negDir, "t1569-failedAvoid", xerrors = 1)
146-
@Test def neg_clashes = compileFile(negDir, "clashes", xerrors = 3)
146+
@Test def neg_clashes = compileFile(negDir, "clashes", xerrors = 2)
147147
@Test def neg_cycles = compileFile(negDir, "cycles", xerrors = 8)
148148
@Test def neg_boundspropagation = compileFile(negDir, "boundspropagation", xerrors = 5)
149149
@Test def neg_refinedSubtyping = compileFile(negDir, "refinedSubtyping", xerrors = 2)

tests/neg/clashes.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
object Test {
22
class C
3-
type C
3+
type C // error
44
}
55

6-
object Test
6+
object Test // error

0 commit comments

Comments
 (0)