Skip to content

Commit 907cb7f

Browse files
committed
NIT - use Scala.js version from Constants in export test
1 parent 864e1a5 commit 907cb7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/integration/src/test/scala/scala/cli/integration/ExportJsonTestDefinitions.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,10 +193,10 @@ abstract class ExportJsonTestDefinitions(val scalaVersionOpt: Option[String])
193193
val fileContents = readJson(root / "dest" / "export.json")
194194

195195
expect(fileContents ==
196-
"""{
196+
s"""{
197197
|"scalaVersion": "3.1.3",
198198
|"platform": "JS",
199-
|"scalaJsVersion": "1.12.0",
199+
|"scalaJsVersion": "${Constants.scalaJsVersion}",
200200
|"jsEsVersion":"es2015",
201201
|"scopes": {
202202
| "main": {

0 commit comments

Comments
 (0)