From: Michael Wallner Date: Wed, 2 Mar 2022 15:12:14 +0000 (+0100) Subject: extends tests wrt 773abe7 X-Git-Tag: v0.2.0~15 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=90a5ee4233fd471b1ce06307c0f93e6e83c47a2c;p=awesomized%2Fext-ion extends tests wrt 773abe7 --- 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);