From eb559970846f0fa27f1f25c482cd07210a56f4b1 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sun, 25 Aug 2019 16:18:24 +0200 Subject: re-format code --- src/json/test_json.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/json/test_json.c') diff --git a/src/json/test_json.c b/src/json/test_json.c index d5b6d13e9..5d751bf47 100644 --- a/src/json/test_json.c +++ b/src/json/test_json.c @@ -37,32 +37,32 @@ test_amount () struct TALER_Amount a2; struct GNUNET_JSON_Specification spec[] = { TALER_JSON_spec_amount ("amount", &a2), - GNUNET_JSON_spec_end() + GNUNET_JSON_spec_end () }; GNUNET_assert (GNUNET_OK == - TALER_string_to_amount ("EUR:4.3", - &a1)); - j = json_pack("{s:o}", "amount", TALER_JSON_from_amount (&a1)); + TALER_string_to_amount ("EUR:4.3", + &a1)); + j = json_pack ("{s:o}", "amount", TALER_JSON_from_amount (&a1)); GNUNET_assert (NULL != j); GNUNET_assert (GNUNET_OK == - GNUNET_JSON_parse (j, spec, + GNUNET_JSON_parse (j, spec, NULL, NULL)); GNUNET_assert (0 == - TALER_amount_cmp (&a1, - &a2)); + TALER_amount_cmp (&a1, + &a2)); json_decref (j); return 0; } int -main(int argc, - const char *const argv[]) +main (int argc, + const char *const argv[]) { GNUNET_log_setup ("test-json", - "WARNING", - NULL); + "WARNING", + NULL); if (0 != test_amount ()) return 1; return 0; -- cgit v1.2.3