mirror of
https://github.com/wader/fq.git
synced 2024-09-11 12:05:39 +03:00
Merge pull request #892 from wader/eval-error-in-path
interp: Add todo test for eval error in path
This commit is contained in:
commit
79e7c71c73
5
pkg/interp/testdata/path.fqtest
vendored
Normal file
5
pkg/interp/testdata/path.fqtest
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
# TODO: possibly fix this in the future. the eval wrapper in it's eval
|
||||
# error path currently builds a new object and indexes into it which
|
||||
# makes gojq eval bail out when in "path"-mode
|
||||
$ fq -n 'try path(eval("error")) catch .'
|
||||
"invalid path against: object ({\"error\":null,\"input\":null})"
|
Loading…
Reference in New Issue
Block a user