From d8a3f1404382b338571624794254c606d0ef3e99 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Mon, 4 Jun 2018 22:12:57 +0200 Subject: added local win32 fork of json-c here --- src/3rdParty/json-c/tests/test_set_serializer.expected | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/3rdParty/json-c/tests/test_set_serializer.expected (limited to 'src/3rdParty/json-c/tests/test_set_serializer.expected') diff --git a/src/3rdParty/json-c/tests/test_set_serializer.expected b/src/3rdParty/json-c/tests/test_set_serializer.expected new file mode 100644 index 0000000..ad44a90 --- /dev/null +++ b/src/3rdParty/json-c/tests/test_set_serializer.expected @@ -0,0 +1,10 @@ +Test setting, then resetting a custom serializer: +my_object.to_string(standard)={ "abc": 12, "foo": "bar" } +my_object.to_string(custom serializer)=Custom Output +Next line of output should be from the custom freeit function: +freeit, value=123 +my_object.to_string(standard)={ "abc": 12, "foo": "bar" } +Check that the custom serializer isn't free'd until the last json_object_put: +my_object.to_string(custom serializer)=Custom Output +Next line of output should be from the custom freeit function: +freeit, value=123 -- cgit v1.2.3-54-g00ecf