diff options
-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 |