summaryrefslogtreecommitdiff
path: root/json-c/src/tests/test_set_serializer.expected
diff options
context:
space:
mode:
authorMichał Cichoń <michcic@gmail.com>2015-08-25 19:56:24 +0200
committerMichał Cichoń <michcic@gmail.com>2015-08-25 19:56:24 +0200
commit682f23e7bb4a52bedf46eff5c4859e1308eda124 (patch)
tree30ad4f37b434ecdfb5edc36dfbaf7fc924e53c0e /json-c/src/tests/test_set_serializer.expected
parent8b41fc907bcd27d24c895062ae8a61b305fc2d46 (diff)
downloadpianobar-windows-build-682f23e7bb4a52bedf46eff5c4859e1308eda124.tar.gz
pianobar-windows-build-682f23e7bb4a52bedf46eff5c4859e1308eda124.tar.bz2
pianobar-windows-build-682f23e7bb4a52bedf46eff5c4859e1308eda124.zip
Update build ref
Diffstat (limited to 'json-c/src/tests/test_set_serializer.expected')
-rw-r--r--json-c/src/tests/test_set_serializer.expected10
1 files changed, 10 insertions, 0 deletions
diff --git a/json-c/src/tests/test_set_serializer.expected b/json-c/src/tests/test_set_serializer.expected
new file mode 100644
index 0000000..f5d3747
--- /dev/null
+++ b/json-c/src/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