Skip to content

Commit 0feac97

Browse files
Oliver Weilermarc0der
authored andcommitted
Remove unnecessary test
1 parent 95967c9 commit 0feac97

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

src/test/groovy/sdkman/specs/EnvCommandSpec.groovy

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -51,23 +51,6 @@ class EnvCommandSpec extends SdkmanEnvSpecification {
5151
expected << ["java=8.0.252.hs\n", "java=11.0.6.hs-adpt\n"]
5252
}
5353

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-
7154
def "should use the candidates contained in .sdkmanrc"() {
7255
given:
7356
new FileTreeBuilder(candidatesDirectory).with {

0 commit comments

Comments
 (0)