From a71012c03ef6a7cbfba69bcafb559fa417c49af0 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 3 Apr 2016 20:28:34 +0200 Subject: code: style updates --- tests/unit/unit1397.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'tests/unit/unit1397.c') diff --git a/tests/unit/unit1397.c b/tests/unit/unit1397.c index 37e8e49de..539433ca0 100644 --- a/tests/unit/unit1397.c +++ b/tests/unit/unit1397.c @@ -28,7 +28,7 @@ static CURLcode unit_setup(void) return CURLE_OK; } -static void unit_stop( void ) +static void unit_stop(void) { /* done before shutting down and exiting */ } @@ -51,14 +51,14 @@ fail_unless(Curl_cert_hostcheck("f*.example.com", "foo.example.com"), fail_unless(Curl_cert_hostcheck("192.168.0.0", "192.168.0.0"), "good 5"); -fail_if(Curl_cert_hostcheck("xxx.example.com", "www.example.com"), "bad 1" ); -fail_if(Curl_cert_hostcheck("*", "www.example.com"), "bad 2" ); -fail_if(Curl_cert_hostcheck("*.*.com", "www.example.com"), "bad 3" ); -fail_if(Curl_cert_hostcheck("*.example.com", "baa.foo.example.com"), "bad 4" ); -fail_if(Curl_cert_hostcheck("f*.example.com", "baa.example.com"), "bad 5" ); -fail_if(Curl_cert_hostcheck("*.com", "example.com"), "bad 6" ); -fail_if(Curl_cert_hostcheck("*fail.com", "example.com"), "bad 7" ); -fail_if(Curl_cert_hostcheck("*.example.", "www.example."), "bad 8" ); +fail_if(Curl_cert_hostcheck("xxx.example.com", "www.example.com"), "bad 1"); +fail_if(Curl_cert_hostcheck("*", "www.example.com"), "bad 2"); +fail_if(Curl_cert_hostcheck("*.*.com", "www.example.com"), "bad 3"); +fail_if(Curl_cert_hostcheck("*.example.com", "baa.foo.example.com"), "bad 4"); +fail_if(Curl_cert_hostcheck("f*.example.com", "baa.example.com"), "bad 5"); +fail_if(Curl_cert_hostcheck("*.com", "example.com"), "bad 6"); +fail_if(Curl_cert_hostcheck("*fail.com", "example.com"), "bad 7"); +fail_if(Curl_cert_hostcheck("*.example.", "www.example."), "bad 8"); fail_if(Curl_cert_hostcheck("*.example.", "www.example"), "bad 9"); fail_if(Curl_cert_hostcheck("", "www"), "bad 10"); fail_if(Curl_cert_hostcheck("*", "www"), "bad 11"); -- cgit v1.2.3