From 90a5ee4233fd471b1ce06307c0f93e6e83c47a2c Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Wed, 2 Mar 2022 16:12:14 +0100 Subject: [PATCH] extends tests wrt 773abe7 --- tests/Serializer/PHP.phpt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/Serializer/PHP.phpt b/tests/Serializer/PHP.phpt index cfad862..d0bb18e 100644 --- a/tests/Serializer/PHP.phpt +++ b/tests/Serializer/PHP.phpt @@ -8,9 +8,16 @@ TEST $o1 = ion\serialize(["foo", ["p" => 1]]); $o2 = ion\serialize(["foo", ["p" => 1]], $s1 = new ion\Serializer\PHP); $o3 = ion\serialize(["foo", ["p" => 1]], $s2 = new ion\Serializer\PHP(new ion\Writer\Options)); +$o4 = ion\serialize(["foo", ["p" => 1]], ["writerOptions" => []]); if ($o1 !== $o2) { var_dump($o1, $o2); } +if ($o2 !== $o3) { + var_dump($o2, $o3); +} +if ($o3 !== $o4) { + var_dump($o3, $o4); +} var_dump($s1); if ($s1 != $s2) { var_dump($s2); -- 2.30.2