diff --git a/src/test/groovy/sdkman/specs/EnvCommandSpec.groovy b/src/test/groovy/sdkman/specs/EnvCommandSpec.groovy index 3d9026f6e..a71dd656a 100644 --- a/src/test/groovy/sdkman/specs/EnvCommandSpec.groovy +++ b/src/test/groovy/sdkman/specs/EnvCommandSpec.groovy @@ -350,7 +350,6 @@ class EnvCommandSpec extends SdkmanEnvSpecification { def "should issue an error when .sdkmanrc contains a candidate version which is not installed"() { given: bash = sdkmanBashEnvBuilder - .withVersionCache("x.y.z") .withOfflineMode(true) .build()