Skip to content

Commit f25f162

Browse files
committed
Fix error message check string
1 parent a095a4b commit f25f162

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

language-server/test/dotty/tools/languageserver/DiagnosticsTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class DiagnosticsTest {
2121
| Nil.map(x => x).filter(x$m1 =>$m2)$m3
2222
|}""".withSource
2323
.diagnostics(m1,
24-
(m2 to m2, "expression expected", Error, Some(IllegalStartSimpleExprID)),
24+
(m2 to m2, "expression expected but ')' found", Error, Some(IllegalStartSimpleExprID)),
2525
(m1 to m1, """Found: Null
2626
|Required: Boolean""".stripMargin, Error, Some(TypeMismatchID))
2727
)

0 commit comments

Comments
 (0)