diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-08-25 16:18:24 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-08-25 16:18:24 +0200 |
commit | eb559970846f0fa27f1f25c482cd07210a56f4b1 (patch) | |
tree | 8526637825e520e1420b17515934ced794a33c01 /src/util/test_url.c | |
parent | 3742239c13001433eeade439a0e0490f07351c43 (diff) | |
download | exchange-eb559970846f0fa27f1f25c482cd07210a56f4b1.tar.xz |
re-format code
Diffstat (limited to 'src/util/test_url.c')
-rw-r--r-- | src/util/test_url.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/util/test_url.c b/src/util/test_url.c index 3734da4e0..59a5e3fa7 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"); |