File: testscript_notfound.txt

package info (click to toggle)
golang-github-rogpeppe-go-internal 1.12.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,184 kB
  • sloc: makefile: 6
file content (17 lines) | stat: -rw-r--r-- 407 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Check that unknown commands output a useful error message

! testscript notfound
stdout 'unknown command "notexist"'

! testscript negation
stdout 'unknown command "!exists" \(did you mean "! exists"\?\)'

! testscript misspelled
stdout 'unknown command "exits" \(did you mean "exists"\?\)'

-- notfound/script.txt --
notexist
-- negation/script.txt --
!exists file
-- misspelled/script.txt --
exits file