File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ test(
206
206
process . chdir ( 'tests/base' ) ;
207
207
const { stdout : path } = npm ( [ 'pack' , '../..' ] ) ;
208
208
npm ( [ 'i' , path ] ) ;
209
- const { stderr } = sls ( [ 'package' ] , {
209
+ const { stdout } = sls ( [ 'package' ] , {
210
210
noThrow : true ,
211
211
env : {
212
212
dockerizePip : true ,
@@ -216,7 +216,7 @@ test(
216
216
} ,
217
217
} ) ;
218
218
t . true (
219
- stderr . includes (
219
+ stdout . includes (
220
220
`-v ${ __dirname } ${ sep } tests${ sep } base${ sep } custom_ssh:/root/.ssh/custom_ssh:z`
221
221
) ,
222
222
'docker command properly resolved'
@@ -1857,12 +1857,12 @@ test('poetry py3.9 fails packaging if poetry.lock is missing and flag requirePoe
1857
1857
1858
1858
const { stdout : path } = npm ( [ 'pack' , '../..' ] ) ;
1859
1859
npm ( [ 'i' , path ] ) ;
1860
- const { stderr } = sls ( [ 'package' ] , {
1860
+ const { stdout } = sls ( [ 'package' ] , {
1861
1861
env : { requirePoetryLockFile : 'true' , slim : 'true' } ,
1862
1862
noThrow : true ,
1863
1863
} ) ;
1864
1864
t . true (
1865
- stderr . includes (
1865
+ stdout . includes (
1866
1866
'poetry.lock file not found - set requirePoetryLockFile to false to disable this error'
1867
1867
) ,
1868
1868
'flag works and error is properly reported'
You can’t perform that action at this time.
0 commit comments