mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-29 06:13:20 +00:00
eval tests: Fix path
I tested this manually (`littlecheck.py -s fish=fish tests/checks/eval.fish`) from the base directory, which means I got "tests/checks/eval", while the real test gets "checks/eval". I then reran `make test_fishscript`, but that didn't pull in the updated test - we should really handle that better.
This commit is contained in:
parent
f1fa8d5f5b
commit
65eb4cd9d3
1 changed files with 2 additions and 2 deletions
|
@ -16,12 +16,12 @@ false; eval false; echo $status
|
||||||
# Test return status in case of parsing error
|
# Test return status in case of parsing error
|
||||||
false; eval "("; echo $status
|
false; eval "("; echo $status
|
||||||
# CHECK: 1
|
# CHECK: 1
|
||||||
# CHECKERR: tests/checks/eval.fish (line {{\d+}}): Unexpected end of string, expecting ')'
|
# CHECKERR: {{.*}}checks/eval.fish (line {{\d+}}): Unexpected end of string, expecting ')'
|
||||||
# CHECKERR: (
|
# CHECKERR: (
|
||||||
# CHECKERR: ^
|
# CHECKERR: ^
|
||||||
false; eval '""'; echo $status
|
false; eval '""'; echo $status
|
||||||
# CHECK: 1
|
# CHECK: 1
|
||||||
# CHECKERR: tests/checks/eval.fish (line {{\d+}}): The expanded command was empty.
|
# CHECKERR: {{.*}}checks/eval.fish (line {{\d+}}): The expanded command was empty.
|
||||||
# CHECKERR: ""
|
# CHECKERR: ""
|
||||||
# CHECKERR: ^
|
# CHECKERR: ^
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue