From 5019bd5dd5e4274a06900970238afff532ddd254 Mon Sep 17 00:00:00 2001 From: Piotr Chabelski Date: Wed, 11 Dec 2024 15:59:21 +0100 Subject: [PATCH] Fix integration tests when run with a Scala 3 LTS RC version --- .../scala/cli/integration/RunScalacCompatTestDefinitions.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/integration/src/test/scala/scala/cli/integration/RunScalacCompatTestDefinitions.scala b/modules/integration/src/test/scala/scala/cli/integration/RunScalacCompatTestDefinitions.scala index 9ef2a8e7c0..19255b9e53 100644 --- a/modules/integration/src/test/scala/scala/cli/integration/RunScalacCompatTestDefinitions.scala +++ b/modules/integration/src/test/scala/scala/cli/integration/RunScalacCompatTestDefinitions.scala @@ -598,7 +598,8 @@ trait RunScalacCompatTestDefinitions { "run", ".", if (useDirective) Nil else macroSettingOptions, - extraOptions, + "-S", + Constants.scala3NextRcAnnounced, "-experimental" ) .call(cwd = root, stderr = os.Pipe)