From a3ab36df6058ce2e27445ca800dce67edd6cd2ef Mon Sep 17 00:00:00 2001 From: Piotr Chabelski Date: Thu, 12 Dec 2024 14:31:08 +0100 Subject: [PATCH] Fix integration tests when run with a Scala 3 LTS RC version (#3362) --- .../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)