We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95967c9 commit 0feac97Copy full SHA for 0feac97
src/test/groovy/sdkman/specs/EnvCommandSpec.groovy
@@ -51,23 +51,6 @@ class EnvCommandSpec extends SdkmanEnvSpecification {
51
expected << ["java=8.0.252.hs\n", "java=11.0.6.hs-adpt\n"]
52
}
53
54
- def "should generate an .sdkmanrc with the default Java version when called with 'init'"() {
55
- given:
56
-
57
- bash = sdkmanBashEnvBuilder
58
- .withVersionCache("x.y.z")
59
- .build()
60
61
- bash.start()
62
- bash.execute("source $bootstrapScript")
63
64
- when:
65
- bash.execute("sdk env init")
66
67
- then:
68
- new File(bash.workDir, '.sdkmanrc').text == "java=11.0.6.hs-adpt\n"
69
- }
70
71
def "should use the candidates contained in .sdkmanrc"() {
72
given:
73
new FileTreeBuilder(candidatesDirectory).with {
0 commit comments