Skip to content

Commit a8f0e76

Browse files
committed
Move OptionConvertersTest to JS-only test root
1 parent 171c6f0 commit a8f0e76

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

build.sbt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ lazy val compat = new MultiScalaCrossProject(
120120
}
121121
Seq(s"$opt:$x->$y/")
122122
},
123+
Test / unmanagedSourceDirectories += (ThisBuild / baseDirectory).value / "compat/src/test/scala-js",
123124
Compile / unmanagedSourceDirectories += {
124125
val jsParent = (ThisBuild / baseDirectory).value / "compat/js/src/main"
125126
CrossVersion.partialVersion(scalaVersion.value) match {

compat/src/test/scala-2.11_2.12/test/scala/jdk/OptionConvertersTest.scala renamed to compat/src/test/scala-js/test/scala/jdk/OptionConvertersTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import scala.jdk.OptionConverters._
88

99
/**
1010
* The tests were copied from the Scala 2.13 Standard Library. `scala.jdk.javaapi` stuff has been omitted and
11-
* everything concerning `OptionalInt`, `OptionalDouble` and `OptionalLong` is only available on the jvm tests.
11+
* everything concerning `OptionalInt`, `OptionalDouble` and `OptionalLong` is only available in the jvm tests.
1212
*
1313
* See https://github.com/scala/scala/blob/2.13.x/test/junit/scala/jdk/OptionConvertersTest.scala.
1414
*/

0 commit comments

Comments
 (0)