From e29db8d272eff570071d84d735fcbfc9f6fbcdd8 Mon Sep 17 00:00:00 2001 From: Stephen Dolan Date: Sat, 11 May 2013 18:10:21 +0100 Subject: Fix bug with path handling (used in assignments). Closes #67 --- tests/all.test | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests') diff --git a/tests/all.test b/tests/all.test index 83f91dae..97af7e55 100644 --- a/tests/all.test +++ b/tests/all.test @@ -574,3 +574,11 @@ unique .foo[.baz] {"foo":{"bar":4},"baz":"bar"} 4 + +.[] | .error = "no, it's OK" +[{"error":true}] +{"error": "no, it's OK"} + +[{a:1}] | .[] | .a=999 +null +{"a": 999} -- cgit v1.2.3