From 65eb4cd9d340f40e054997464907ce80959e2224 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Wed, 3 Jul 2019 15:14:49 +0200 Subject: [PATCH] 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. --- tests/checks/eval.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/checks/eval.fish b/tests/checks/eval.fish index 1ee6b4c1f..3017be4c7 100644 --- a/tests/checks/eval.fish +++ b/tests/checks/eval.fish @@ -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: ^