JSONPath icon indicating copy to clipboard operation
JSONPath copied to clipboard

Bracket Notation With Negative Number On Short Array

Open SoftCreatR opened this issue 5 years ago • 1 comments

Test Data:

[
  "one element"
]

Selector:

$[-2]

Result:

Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'[]'
+'["one element","one element"]'

More information: https://cburgmer.github.io/json-path-comparison/results/bracket_notation_with_negative_number_on_short_array

SoftCreatR avatar Oct 26 '20 19:10 SoftCreatR

After #26

--- Expected
+++ Actual
@@ @@
-'[]'
+'["one element"]'

SoftCreatR avatar Oct 27 '20 11:10 SoftCreatR