make "no such file" test pass on Windows

pull/22/head
Daniel Martí 6 years ago
parent bee30aff41
commit 9cf7df925d

@ -10,3 +10,15 @@ stderr 'Usage of'
! garble -badflag ! garble -badflag
stderr 'Usage of' stderr 'Usage of'
! stdout . ! stdout .
! garble badcmd
stderr 'unknown command'
[!windows] ! garble /does/not/exist
[windows] ! garble C:\does\not\exist
stderr 'unknown tool'
[!windows] ! garble /does/not/exist/compile
[!windows] stderr 'no such file'
[windows] ! garble C:\does\not\exist\compile
[windows] stderr 'file does not exist'

@ -1,12 +1,3 @@
! garble badcmd
stderr 'unknown command'
! garble /does/not/exist
stderr 'unknown tool'
! garble /does/not/exist/compile
stderr 'no such file'
exec go test -v exec go test -v
stdout 'PASS.*TestFoo' stdout 'PASS.*TestFoo'

Loading…
Cancel
Save