From b34af08f676f635a35a41137506715ad8a180105 Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Mon, 25 Mar 2019 09:56:46 -0500 Subject: Fix tests/jq.test for c72ed135 --- tests/jq.test | 16 ++++++++-------- 1 file 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 -- cgit v1.2.3