mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 12:21:19 -03: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:
@@ -16,12 +16,12 @@ false; eval false; echo $status
|
||||
# Test return status in case of parsing error
|
||||
false; eval "("; echo $status
|
||||
# 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: ^
|
||||
false; eval '""'; echo $status
|
||||
# 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: ^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user