diff options
author | Nicolas Williams <nico@cryptonector.com> | 2019-03-25 09:56:46 -0500 |
---|---|---|
committer | Nicolas Williams <nico@cryptonector.com> | 2019-03-25 09:56:53 -0500 |
commit | b34af08f676f635a35a41137506715ad8a180105 (patch) | |
tree | e5b6c379ff6e71b2bb59d5c7cfd2c72efc2fbe50 | |
parent | e01398c9db84d505b763665429ea5b78ff39e9a9 (diff) |
Fix tests/jq.test for c72ed135
-rw-r--r-- | tests/jq.test | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/jq.test b/tests/jq.test index 53a462b3..a6a8d219 100644 --- a/tests/jq.test +++ b/tests/jq.test @@ -1663,13 +1663,13 @@ builtins|any(.[:1] == "_") null false -# Test ability to use keywords -(.[] as $kw | "\"{\($kw)} as $\($kw) | $\($kw) | {$\($kw)} | {\($kw):.\($kw)}\""|eval|empty),null -["as","def","module","import","include","if","then","else","elif","end","reduce","foreach","and","or","try","catch","label","break","__loc__"] -null - -(.[] as $kw | "\"def f($\($kw)): $\($kw); f(.)\""|eval|empty),null -["as","def","module","import","include","if","then","else","elif","end","reduce","foreach","and","or","try","catch","label","break","__loc__"] -null +## Test ability to use keywords (uncomment after eval is pushed) +#(.[] as $kw | "\"{\($kw)} as $\($kw) | $\($kw) | {$\($kw)} | {\($kw):.\($kw)}\""|eval|empty),null +#["as","def","module","import","include","if","then","else","elif","end","reduce","foreach","and","or","try","catch","label","break","__loc__"] +#null +# +#(.[] as $kw | "\"def f($\($kw)): $\($kw); f(.)\""|eval|empty),null +#["as","def","module","import","include","if","then","else","elif","end","reduce","foreach","and","or","try","catch","label","break","__loc__"] +#null |