Fix relying on exact serialisation for JSON/YAML tests (RT#121901)
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Wed, 6 Sep 2017 14:57:04 +0000 (15:57 +0100)
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Wed, 6 Sep 2017 15:03:57 +0000 (16:03 +0100)
commit49f0f316cadb67de79e4b361e38d0139cf3b5fc4
tree52e442af4e146acf4f3df4515ab371183de2b9a8
parent4384692aca82fb49ad4a49c08d7ddbde85bc4ecb
Fix relying on exact serialisation for JSON/YAML tests (RT#121901)

Instead, decode the expected and generated JSON/YAML and use
is_deeply() on the data structures.
Changes
t/23json.t
t/24yaml.t