From 33a6e2a263c501cd93e783fc18bdbe3f2dc32e4c Mon Sep 17 00:00:00 2001 From: Jamie Thompson Date: Sun, 18 Feb 2024 14:54:42 +0100 Subject: [PATCH] use Scala 3.3.2 --- project.scala | 2 +- src/main/test/example/RegexSuite.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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