diff --git a/tests/test_create.py b/tests/test_create.py index 579fcd2..64179ed 100644 --- a/tests/test_create.py +++ b/tests/test_create.py @@ -98,6 +98,13 @@ {'bar': 'baz', 'qux': 42}, {'bar': 'bizzle'} ]}), + Params(string='[1].foo', + initial_data=[{'foo': 1}, + {'bar': 2}], + insert_val=42, + target=[{'foo': 1}, + {'foo': 42, + 'bar': 2}],) ]) def test_update_or_create(string, initial_data, insert_val, target): jsonpath = parse(string)