Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tindzk committed Feb 1, 2019
1 parent 0c6892e commit 6b05629
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/test/scala/seed/config/BuildConfigSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import minitest.SimpleTestSuite
import java.nio.file.Paths

import org.apache.commons.io.FileUtils
import seed.config.util.TomlUtils
import seed.model.Build
import seed.model.Build.{Project, ScalaDep, VersionTag}
import seed.model.Platform.{JVM, JavaScript}
Expand Down Expand Up @@ -62,7 +63,7 @@ object BuildConfigSpec extends SimpleTestSuite {
|sources = ["js/test"]
""".stripMargin

val buildRaw = BuildConfig.parseToml(Paths.get("."))(toml)
val buildRaw = TomlUtils.parseBuildToml(Paths.get("."))(toml)
val build = BuildConfig.processBuild(buildRaw.right.get, _ =>
Build(project = Project(scalaVersion = "2.12.8"), module = Map()))

Expand All @@ -83,7 +84,7 @@ object BuildConfigSpec extends SimpleTestSuite {
|]
""".stripMargin

val buildRaw = BuildConfig.parseToml(Paths.get("."))(toml)
val buildRaw = TomlUtils.parseBuildToml(Paths.get("."))(toml)
val build = BuildConfig.processBuild(buildRaw.right.get, _ =>
Build(project = Project(scalaVersion = "2.12.8"), module = Map()))

Expand Down

0 comments on commit 6b05629

Please sign in to comment.