Skip to content
Permalink
Browse files

Minimize diff

  • Loading branch information...
alexarchambault committed Oct 15, 2019
1 parent 17d6173 commit 9f1a0f7d788957921608b765f39a2837897c5d04
Showing with 13 additions and 12 deletions.
  1. +13 −12 modules/scala/scala-interpreter/src/test/scala/almond/ScalaInterpreterTests.scala
@@ -15,20 +15,21 @@ object ScalaInterpreterTests extends TestSuite {

private val sbv = scala.util.Properties.versionNumberString.split('.').take(2).mkString(".")

private def newInterpreter: Interpreter = new ScalaInterpreter(
params = ScalaInterpreterParams(
initialColors = Colors.BlackWhite,
automaticDependencies = Map(
Module.of("org.scalacheck", "*") -> Seq(
Dependency.of("com.github.alexarchambault", s"scalacheck-shapeless_1.14_$sbv", "1.2.3")
private def newInterpreter: Interpreter =
new ScalaInterpreter(
params = ScalaInterpreterParams(
initialColors = Colors.BlackWhite,
automaticDependencies = Map(
Module.of("org.scalacheck", "*") -> Seq(
Dependency.of("com.github.alexarchambault", s"scalacheck-shapeless_1.14_$sbv", "1.2.3")
)
),
automaticVersions = Map(
Module.of("org.scalacheck", s"scalacheck_$sbv") -> "1.14.0"
)
),
automaticVersions = Map(
Module.of("org.scalacheck", s"scalacheck_$sbv") -> "1.14.0"
)
),
logCtx = logCtx
)
logCtx = logCtx
)

private val interpreter: Interpreter = newInterpreter

0 comments on commit 9f1a0f7

Please sign in to comment.
You can’t perform that action at this time.