github.com/rogpeppe/go-internal@v1.12.1-0.20240509064211-c8567cf8e95f/testscript/testdata/testscript_notfound.txt (about) 1 # Check that unknown commands output a useful error message 2 3 ! testscript notfound 4 stdout 'unknown command "notexist"' 5 6 ! testscript negation 7 stdout 'unknown command "!exists" \(did you mean "! exists"\?\)' 8 9 ! testscript misspelled 10 stdout 'unknown command "exits" \(did you mean "exists"\?\)' 11 12 -- notfound/script.txt -- 13 notexist 14 -- negation/script.txt -- 15 !exists file 16 -- misspelled/script.txt -- 17 exits file