Skip to content

Commit

Permalink
A test for #100
Browse files Browse the repository at this point in the history
  • Loading branch information
halaxa committed Nov 3, 2024
1 parent 775f216 commit b13aeac
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/JsonMachineTest/ParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,14 @@ public function data_testSyntax()
[1 => ['test2']],
],
],
'ISSUE-100' => [
['/results/-/color'],
'{"results":[{"name":"apple","color":"red"},{"name":"pear","color":"yellow"}]}',
[
['color' => 'red'],
['color' => 'yellow'],
],
],
];
}

Expand Down

0 comments on commit b13aeac

Please sign in to comment.