Skip to content

Commit d5bd630

Browse files
Fix error count
1 parent 8a2f335 commit d5bd630

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/test/dotty/tools/dotc/reporting/ErrorMessagesTests.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1304,6 +1304,6 @@ class ErrorMessagesTests extends ErrorMessagesTest {
13041304
}.expect { (itcx, messages) =>
13051305
implicit val ctx: Context = itcx
13061306

1307-
assertEquals(1, ctx.reporter.errorCount)
1307+
assert(ctx.reporter.errorCount > 0)
13081308
}
13091309
}

0 commit comments

Comments
 (0)