mirror of
https://github.com/imjasonh/testscript-rs
synced 2026-07-08 17:16:38 +00:00
initial commit
Signed-off-by: Jason Hall <jason@chainguard.dev>
This commit is contained in:
commit
c39114f1a9
64 changed files with 8704 additions and 0 deletions
17
testdata/testscript_notfound.txt
vendored
Normal file
17
testdata/testscript_notfound.txt
vendored
Normal file
|
|
@ -0,0 +1,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
|
||||
Loading…
Add table
Add a link
Reference in a new issue