| 1 |
env GO111MODULE=on |
| 2 |
|
| 3 |
! go get rsc.io/badfile1 rsc.io/badfile2 rsc.io/badfile3 rsc.io/badfile4 rsc.io/badfile5 |
| 4 |
! stderr 'unzip.*badfile1' |
| 5 |
stderr 'unzip.*badfile2[\\/]@v[\\/]v1.0.0.zip:.*malformed file path "☺.go": invalid char ''☺''' |
| 6 |
stderr 'unzip.*badfile3[\\/]@v[\\/]v1.0.0.zip: rsc.io[\\/][email protected][\\/]x\?y.go: malformed file path "x\?y.go": invalid char ''\?''' |
| 7 |
stderr 'unzip.*badfile4[\\/]@v[\\/]v1.0.0.zip: rsc.io[\\/][email protected][\\/]x[\\/]y.go: case-insensitive file name collision: "x/Y.go" and "x/y.go"' |
| 8 |
stderr 'unzip.*badfile5[\\/]@v[\\/]v1.0.0.zip: rsc.io[\\/][email protected][\\/]x[\\/]Y[\\/]zz[\\/]ww.go: case-insensitive file name collision: "x/y" and "x/Y"' |
| 9 |
|
| 10 |
-- go.mod -- |
| 11 |
module x |