From 51d96f8dbc8144ecda2496a6ed5cd5a63e061683 Mon Sep 17 00:00:00 2001 From: springcomp Date: Fri, 21 Oct 2022 09:45:37 +0200 Subject: [PATCH] Fixes #4 - Pipe expression learned to handle `null` values. --- tests/pipe.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/pipe.json b/tests/pipe.json index b10c0a4..f53f8f9 100644 --- a/tests/pipe.json +++ b/tests/pipe.json @@ -126,6 +126,10 @@ { "expression": "foo[*].bar[*] | [0][0]", "result": {"baz": "one"} + }, + { + "expression": "`null` | [@]", + "result": [ null ] } ] }]