mirror of
https://github.com/zunit-zsh/zunit.git
synced 2026-09-10 06:36:15 -04:00
Do a safer test against the error message for a missing command
Stops tests from failing just because the line number changes
This commit is contained in:
parent
ceba65a207
commit
0a0b6df025
|
|
@ -24,5 +24,5 @@
|
|||
run a-non-existent-command
|
||||
|
||||
assert $state equals 127
|
||||
assert $output same_as 'run:20: command not found: a-non-existent-command'
|
||||
assert $output matches 'run:[0-9]+: command not found: a-non-existent-command'
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue