Commit bccf94d7 authored by Mathieu Giraud's avatar Mathieu Giraud

demo/json.should: include also [0] elements

parent f143895f
Pipeline #2680 passed with stages
in 15 seconds
......@@ -13,7 +13,7 @@ j:concepts.directions
j:concepts.wuxing.earth
j0:concepts.winds
j:numbers[3].meaning
j0:numbers[2].meaning
j0:numbers[0].meaning
j0:numbers[42].meaning
$ Tests can further be on number of elements in arrays and objects
......@@ -25,8 +25,8 @@ j5:concepts.wuxing
$ With a second ':', an expression is tested on the values
j:numbers:12
j:concepts.directions:rth
j:concepts.directions[2]:outh
j0:concepts.directions[3]:outh
j:concepts.directions[0]:rth
j0:concepts.directions[3]:rth
j0:concepts.wuxing:st
$ The number of matching expressions can also be tested
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment