From 99b2c285f5ab6087b5e8f8a2769dd0c6e89c7cfe Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 28 Sep 2023 13:36:14 -0400 Subject: [PATCH] spelling: cheaper Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- integration/tests_ok/jsonpath_store.hurl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/tests_ok/jsonpath_store.hurl b/integration/tests_ok/jsonpath_store.hurl index 0b30192a8..93a683eb5 100644 --- a/integration/tests_ok/jsonpath_store.hurl +++ b/integration/tests_ok/jsonpath_store.hurl @@ -26,7 +26,7 @@ jsonpath "$..book[:2].title" nth 1 == "Sword of Honour" jsonpath "$..book[?(@.isbn)]" count == 2 # filter all books with isbn number jsonpath "$..book[?(@.isbn)].title" nth 0 == "Moby Dick" jsonpath "$..book[?(@.isbn)].title" nth 1 == "The Lord of the Rings" -jsonpath "$..book[?(@.price<10)]" count == 2 # filter all books cheapier than 10 +jsonpath "$..book[?(@.price<10)]" count == 2 # filter all books cheaper than 10 jsonpath "$..book[?(@.price<10)].title" nth 0 == "Sayings of the Century" jsonpath "$..book[?(@.price<10)].title" nth 1 == "Moby Dick" jsonpath "$..*" count == 27 # all Elements in XML document. All members of JSON structure.