Skip to content

Commit

Permalink
fix crossScalaVersions and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
goshacodes committed Sep 5, 2023
1 parent db8e040 commit a7d15bd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def crossScalaSettings = {
}
}
Seq(
crossScalaVersions := Seq("2.12.17", "2.13.8"),
crossScalaVersions := Seq("2.12.17", scalaVersion.value),
Compile / unmanagedSourceDirectories ++= addDirsByScalaVersion("src/main").value,
Test / unmanagedSourceDirectories ++= addDirsByScalaVersion("src/test").value,
libraryDependencies ++= {
Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.21")
//addSbtPlugin("com.jsuereth" % "sbt-pgp" % "2.0.0-M2")
addSbtPlugin("com.github.sbt" % "sbt-git" % "2.0.1")

addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.10.1")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.13.2")
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.3.1")
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import org.scalamock.function
abstract class FakeFunction(mockContext: MockContext, name: Symbol)
extends function.FakeFunction(mockContext, name) with NiceToString {

def handle(args: Array[AnyRef]): Any = handle(seq2Product(args.toSeq))
def handle(args: Array[AnyRef]): Any = handle(seq2Product(args))

class ExpectationHandler {
def apply(args: MockParameter[Any]*) =
Expand Down

0 comments on commit a7d15bd

Please sign in to comment.