Skip to content

Commit bf75ddf

Browse files
nivesninemichaelmior
authored andcommitted
updated test for jsonpath.py changes
1 parent c7baab7 commit bf75ddf

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Diff for: tests/test_jsonpath.py

+10
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,16 @@ def test_datumincontext_in_context_nested():
136136
lambda x, y, z: x + 1,
137137
{'foo': [{'baz': 2}, {'baz': 3}]}
138138
),
139+
#
140+
# Update with Boolean in data
141+
# ---------------------------
142+
#
143+
(
144+
"$.*.number",
145+
{'foo': ['abc', 'def'], 'bar': {'number': 123456}, 'boolean': True},
146+
'98765',
147+
{'foo': ['abc', 'def'], 'bar': {'number': '98765'}, 'boolean': True},
148+
),
139149
)
140150

141151

0 commit comments

Comments
 (0)