Skip to content

Commit b8bd29f

Browse files
test sample correction
1 parent 139787e commit b8bd29f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_jsonpath.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1314,7 +1314,7 @@ def test_extractore_with_dollar_key
13141314
end
13151315

13161316
def test_symbolize_key
1317-
data = { "store" => { "book" => [{"category" => "test"}]}}
1317+
data = { "store" => { "book" => [{"category" => "reference"}]}}
13181318
assert_equal [{"category": "reference"}], JsonPath.new('$..book[0]', symbolize_keys: true).on(data)
13191319
assert_equal [{"category": "reference"}], JsonPath.new('$..book[0]').on(data, symbolize_keys: true)
13201320
end

0 commit comments

Comments
 (0)