@@ -209,7 +209,7 @@ class CondaCacheTest extends Specification {
209
209
then :
210
210
1 * cache. isYamlFilePath(ENV )
211
211
0 * cache. makeAbsolute(_)
212
- 1 * cache. runCommand( " conda create --mkdir -- yes --quiet --prefix $PREFIX $ENV " ) >> null
212
+ 1 * cache. runCommand( " conda create --yes --quiet --prefix $PREFIX $ENV " ) >> null
213
213
result == PREFIX
214
214
215
215
}
@@ -235,7 +235,7 @@ class CondaCacheTest extends Specification {
235
235
then :
236
236
1 * cache. isYamlFilePath(ENV )
237
237
0 * cache. makeAbsolute(_)
238
- 1 * cache. runCommand(" mamba create --mkdir -- yes --quiet --prefix $PREFIX $ENV " ) >> null
238
+ 1 * cache. runCommand(" mamba create --yes --quiet --prefix $PREFIX $ENV " ) >> null
239
239
result == PREFIX
240
240
241
241
}
@@ -330,7 +330,7 @@ class CondaCacheTest extends Specification {
330
330
1 * cache. isYamlFilePath(ENV )
331
331
1 * cache. isTextFilePath(ENV )
332
332
0 * cache. makeAbsolute(_)
333
- 1 * cache. runCommand( " conda create --this --that --mkdir -- yes --quiet --prefix $PREFIX $ENV " ) >> null
333
+ 1 * cache. runCommand( " conda create --this --that --yes --quiet --prefix $PREFIX $ENV " ) >> null
334
334
result == PREFIX
335
335
}
336
336
@@ -347,7 +347,7 @@ class CondaCacheTest extends Specification {
347
347
1 * cache. isYamlFilePath(ENV )
348
348
1 * cache. isTextFilePath(ENV )
349
349
0 * cache. makeAbsolute(_)
350
- 1 * cache. runCommand(" mamba create --this --that --mkdir -- yes --quiet --prefix $PREFIX $ENV " ) >> null
350
+ 1 * cache. runCommand(" mamba create --this --that --yes --quiet --prefix $PREFIX $ENV " ) >> null
351
351
result == PREFIX
352
352
}
353
353
@@ -381,7 +381,7 @@ class CondaCacheTest extends Specification {
381
381
1 * cache. isYamlFilePath(ENV )
382
382
1 * cache. isTextFilePath(ENV )
383
383
0 * cache. makeAbsolute(_)
384
- 1 * cache. runCommand(" conda create --mkdir -- yes --quiet --prefix /foo/bar -c bioconda -c defaults bwa=1.1.1" ) >> null
384
+ 1 * cache. runCommand(" conda create --yes --quiet --prefix /foo/bar -c bioconda -c defaults bwa=1.1.1" ) >> null
385
385
result == PREFIX
386
386
}
387
387
@@ -435,7 +435,7 @@ class CondaCacheTest extends Specification {
435
435
1 * cache. isYamlFilePath(ENV )
436
436
1 * cache. isTextFilePath(ENV )
437
437
1 * cache. makeAbsolute(ENV ) >> Paths . get(' /usr/base' ). resolve(ENV )
438
- 1 * cache. runCommand( " conda create --this --that --mkdir -- yes --quiet --prefix $PREFIX --file /usr/base/foo.txt" ) >> null
438
+ 1 * cache. runCommand( " conda create --this --that --yes --quiet --prefix $PREFIX --file /usr/base/foo.txt" ) >> null
439
439
result == PREFIX
440
440
441
441
}
0 commit comments