summaryrefslogtreecommitdiff
path: root/src/util/test_url.c
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-08-25 16:18:24 +0200
committerFlorian Dold <florian.dold@gmail.com>2019-08-25 16:18:24 +0200
commiteb559970846f0fa27f1f25c482cd07210a56f4b1 (patch)
tree8526637825e520e1420b17515934ced794a33c01 /src/util/test_url.c
parent3742239c13001433eeade439a0e0490f07351c43 (diff)
downloadexchange-eb559970846f0fa27f1f25c482cd07210a56f4b1.tar.gz
exchange-eb559970846f0fa27f1f25c482cd07210a56f4b1.tar.bz2
exchange-eb559970846f0fa27f1f25c482cd07210a56f4b1.zip
re-format code
Diffstat (limited to 'src/util/test_url.c')
-rw-r--r--src/util/test_url.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/util/test_url.c b/src/util/test_url.c
index 3734da4e..59a5e3fa 100644
--- a/src/util/test_url.c
+++ b/src/util/test_url.c
@@ -49,10 +49,14 @@ main (int argc,
cf (TALER_urlencode ("foo bar "), "foo%20bar%20");
cf (TALER_urlencode ("% % "), "%25%20%25%20");
- cf (TALER_url_join ("https://taler.net/", "foo", NULL), "https://taler.net/foo");
- cf (TALER_url_join ("https://taler.net", "foo", NULL), "https://taler.net/foo");
- cf (TALER_url_join ("https://taler.net/", "/foo", NULL), "https://taler.net/foo");
- cf (TALER_url_join ("https://taler.net/", "/foo/", NULL), "https://taler.net/foo/");
+ cf (TALER_url_join ("https://taler.net/", "foo", NULL),
+ "https://taler.net/foo");
+ cf (TALER_url_join ("https://taler.net", "foo", NULL),
+ "https://taler.net/foo");
+ cf (TALER_url_join ("https://taler.net/", "/foo", NULL),
+ "https://taler.net/foo");
+ cf (TALER_url_join ("https://taler.net/", "/foo/", NULL),
+ "https://taler.net/foo/");
cf (TALER_url_join ("https://taler.net/", "foo", "x", "42", NULL),
"https://taler.net/foo?x=42");