summaryrefslogtreecommitdiff
path: root/tests/test_jsonpath.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_jsonpath.py')
-rw-r--r--tests/test_jsonpath.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_jsonpath.py b/tests/test_jsonpath.py
index bf3d5c6..32d6d6a 100644
--- a/tests/test_jsonpath.py
+++ b/tests/test_jsonpath.py
@@ -130,7 +130,8 @@ class TestJsonPath(unittest.TestCase):
self.check_cases([
('[0]', [42], [42]),
('[5]', [42], []),
- ('[2]', [34, 65, 29, 59], [29])
+ ('[2]', [34, 65, 29, 59], [29]),
+ ('[0]', None, [])
])
def test_slice_value(self):