diff --git a/project.scala b/project.scala index ba6becf..154d110 100644 --- a/project.scala +++ b/project.scala @@ -1,5 +1,5 @@ // Main -//> using scala "3.4.0-RC3" +//> using scala "3.3.2" //> using options -source:future -Yexplicit-nulls //> using options -project enhanced-string-interpolator -siteroot ${.} diff --git a/src/main/test/example/RegexSuite.scala b/src/main/test/example/RegexSuite.scala index e1de1b8..c659627 100644 --- a/src/main/test/example/RegexSuite.scala +++ b/src/main/test/example/RegexSuite.scala @@ -28,7 +28,7 @@ class RegexSuite extends munit.FunSuite: """) val queryMsg = """unbalanced parentheses when parsing regex from format string: "...(((O|X))"""" - assert(errors.exists(_.message.contains(queryMsg))) + assertEquals(true, clue(errors).exists(_.message.contains(queryMsg))) test("regex newline"): val in = """foo