File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed
src/test/groovy/sdkman/specs Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -39,27 +39,6 @@ class CandidatesCacheUpdateSpec extends SdkmanEnvSpecification {
3939 ! bash. output. contains(" SDKMAN 5.0.0" )
4040 }
4141
42- void " should NOT issue a warning if cache is older than a month" () {
43- given :
44- bash = sdkmanBashEnvBuilder
45- .withCandidates([' groovy' ])
46- .build()
47-
48- and :
49- candidatesCache. setLastModified(((new Date () - 31 ) as Date ). time)
50-
51- and :
52- bash. start()
53-
54- when :
55- bash. execute(" source $bootstrapScript " )
56- bash. execute(" sdk help" )
57-
58- then :
59- ! bash. output. contains(' We periodically need to update the local cache.' )
60- ! bash. output. contains(' $ sdk update' )
61- }
62-
6342 void " should log a success message if cache exists" () {
6443 given :
6544 bash = sdkmanBashEnvBuilder
You can’t perform that action at this time.
0 commit comments