src/cmd/go/testdata/script/list_panic_issue68737.txt
raw| 1 | # Issue #68737: Don't panic if the import path string doesn't appear |
| 2 | # in the import error. The string may not appear because it may be |
| 3 | # escaped when quoted as part of the error message. |
| 4 | |
| 5 | ! go run '' # Quote contains 0x01 byte |
| 6 | ! stderr panic |
| 7 | stderr 'malformed import path "\\x01": invalid char ''\\x01''' |