From 00cbf8bcca9d047eead535ebd5bc986365b04426 Mon Sep 17 00:00:00 2001 From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> Date: Thu, 31 Oct 2024 15:24:53 +0100 Subject: tap: clang-format --- tap/tests/skip/test.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'tap/tests/skip') diff --git a/tap/tests/skip/test.c b/tap/tests/skip/test.c index d8f3eafd..789812e2 100644 --- a/tap/tests/skip/test.c +++ b/tap/tests/skip/test.c @@ -28,29 +28,27 @@ #include "tap.h" -int -main(int argc, char *argv[]) -{ +int main(int argc, char *argv[]) { unsigned int rc = 0; unsigned int side_effect = 0; rc = plan_tests(4); diag("Returned: %d", rc); - rc = ok(1 == 1, "1 equals 1"); /* Should always work */ + rc = ok(1 == 1, "1 equals 1"); /* Should always work */ diag("Returned: %d", rc); do { - if(1) { + if (1) { rc = skip(1, "Testing skipping"); continue; } - + side_effect++; ok(side_effect == 1, "side_effect checked out"); - } while(0); + } while (0); diag("Returned: %d", rc); -- cgit v1.2.3-74-g34f1