mirror of
https://github.com/halaxa/json-machine.git
synced 2025-01-16 20:48:17 +01:00
A test for #100
This commit is contained in:
parent
775f216b45
commit
b13aeacee8
@ -137,6 +137,14 @@ class ParserTest extends \PHPUnit_Framework_TestCase
|
||||
[1 => ['test2']],
|
||||
],
|
||||
],
|
||||
'ISSUE-100' => [
|
||||
['/results/-/color'],
|
||||
'{"results":[{"name":"apple","color":"red"},{"name":"pear","color":"yellow"}]}',
|
||||
[
|
||||
['color' => 'red'],
|
||||
['color' => 'yellow'],
|
||||
],
|
||||
],
|
||||
];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user