Update test to reflect new WindowsDiscoverConfig ctor

This commit is contained in:
Arnout Engelen 2018-08-15 16:19:14 +02:00
parent b699f0fc6f
commit bed2e11d59
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ class CrossJavaTest extends Specification {
"The Windows Java home selector" should {
"correctly pick up a JDK" in {
val conf = new WindowsDiscoverConfig {
val conf = new WindowsDiscoverConfig(sbt.io.syntax.file(".")) {
override def candidates() = Vector("jdk1.7.0")
}
val (version, file) = conf.javaHomes.sortWith(CrossJava.versionOrder).last