Skip to content

Commit 5273a8d

Browse files
committed
more tests
1 parent 0f25883 commit 5273a8d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/ObjectMergeTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,12 @@ class ObjectMergeTest extends TestCase
114114
'others' => ['{"key":{}}'],
115115
'expected' => '{"key":{"yep":"i should be here"}}',
116116
'recurse' => true,
117+
],
118+
[
119+
'root' => '{"key":{"sub":{"sub2":{"sub3":"value"}}}}',
120+
'others' => ['{"key":{"sub":{"sub22":{"sub223":"value2"}}}}'],
121+
'expected' => '{"key":{"sub":{"sub2":{"sub3":"value"},"sub22":{"sub223":"value2"}}}}',
122+
'recurse' => true
117123
]
118124
);
119125

0 commit comments

Comments
 (0)