Fix error message for undefined vars

This commit is contained in:
Nicolas Williams committed 2017-02-26 00:37:28 -06:00
1 parent 441b066dd8
commit 1a8a0ae0f5
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -278,7 +278,7 @@ null
%%FAIL
. as $foo | break $foo
jq: error: *label-foo/0 is not defined at <top-level>, line 1:
jq: error: $*label-foo is not defined at <top-level>, line 1:
[.[]|[.,1]|until(.[0] < 1; [.[0] - 1, .[1] * .[0]])|.[1]]
[1,2,3,4,5]