diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-11-07 10:58:44 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-07 10:58:44 +0100 |
| commit | b47b5b6fa06ac7ac6f284c7278890f3820100dd8 (patch) | |
| tree | be193ae0e79f2620c02d1f41dfad4375511d3033 /tap/tests/plan | |
| parent | cace8759c98a1d861c4318afa1d207d869d02646 (diff) | |
| parent | 00cbf8bcca9d047eead535ebd5bc986365b04426 (diff) | |
| download | monitoring-plugins-b47b5b6.tar.gz | |
Merge pull request #2036 from RincewindsHat/cleanup/tap
tap: clang-format
Diffstat (limited to 'tap/tests/plan')
| -rw-r--r-- | tap/tests/plan/no-tests/test.c | 4 | ||||
| -rw-r--r-- | tap/tests/plan/no_plan/test.c | 4 | ||||
| -rw-r--r-- | tap/tests/plan/not-enough-tests/test.c | 4 | ||||
| -rw-r--r-- | tap/tests/plan/sane/test.c | 4 | ||||
| -rw-r--r-- | tap/tests/plan/skip_all/test.c | 4 | ||||
| -rw-r--r-- | tap/tests/plan/too-many-plans/test.c | 4 | ||||
| -rw-r--r-- | tap/tests/plan/too-many-tests/test.c | 4 |
7 files changed, 7 insertions, 21 deletions
diff --git a/tap/tests/plan/no-tests/test.c b/tap/tests/plan/no-tests/test.c index 78c5d371..f70ec8d3 100644 --- a/tap/tests/plan/no-tests/test.c +++ b/tap/tests/plan/no-tests/test.c | |||
| @@ -28,9 +28,7 @@ | |||
| 28 | 28 | ||
| 29 | #include "tap.h" | 29 | #include "tap.h" |
| 30 | 30 | ||
| 31 | int | 31 | int main(int argc, char *argv[]) { |
| 32 | main(int argc, char *argv[]) | ||
| 33 | { | ||
| 34 | unsigned int rc = 0; | 32 | unsigned int rc = 0; |
| 35 | 33 | ||
| 36 | rc = plan_tests(0); | 34 | rc = plan_tests(0); |
diff --git a/tap/tests/plan/no_plan/test.c b/tap/tests/plan/no_plan/test.c index 5cffbdc2..4c25d5f2 100644 --- a/tap/tests/plan/no_plan/test.c +++ b/tap/tests/plan/no_plan/test.c | |||
| @@ -28,9 +28,7 @@ | |||
| 28 | 28 | ||
| 29 | #include "tap.h" | 29 | #include "tap.h" |
| 30 | 30 | ||
| 31 | int | 31 | int main(int argc, char *argv[]) { |
| 32 | main(int argc, char *argv[]) | ||
| 33 | { | ||
| 34 | unsigned int rc = 0; | 32 | unsigned int rc = 0; |
| 35 | 33 | ||
| 36 | rc = plan_no_plan(); | 34 | rc = plan_no_plan(); |
diff --git a/tap/tests/plan/not-enough-tests/test.c b/tap/tests/plan/not-enough-tests/test.c index a9ec64f2..eacc07eb 100644 --- a/tap/tests/plan/not-enough-tests/test.c +++ b/tap/tests/plan/not-enough-tests/test.c | |||
| @@ -28,9 +28,7 @@ | |||
| 28 | 28 | ||
| 29 | #include "tap.h" | 29 | #include "tap.h" |
| 30 | 30 | ||
| 31 | int | 31 | int main(int argc, char *argv[]) { |
| 32 | main(int argc, char *argv[]) | ||
| 33 | { | ||
| 34 | unsigned int rc = 0; | 32 | unsigned int rc = 0; |
| 35 | 33 | ||
| 36 | rc = plan_tests(1); | 34 | rc = plan_tests(1); |
diff --git a/tap/tests/plan/sane/test.c b/tap/tests/plan/sane/test.c index 0843d3af..17bf8d16 100644 --- a/tap/tests/plan/sane/test.c +++ b/tap/tests/plan/sane/test.c | |||
| @@ -28,9 +28,7 @@ | |||
| 28 | 28 | ||
| 29 | #include "tap.h" | 29 | #include "tap.h" |
| 30 | 30 | ||
| 31 | int | 31 | int main(int argc, char *argv[]) { |
| 32 | main(int argc, char *argv[]) | ||
| 33 | { | ||
| 34 | unsigned int rc = 0; | 32 | unsigned int rc = 0; |
| 35 | 33 | ||
| 36 | rc = plan_tests(1); | 34 | rc = plan_tests(1); |
diff --git a/tap/tests/plan/skip_all/test.c b/tap/tests/plan/skip_all/test.c index 31722da9..4e37e1ae 100644 --- a/tap/tests/plan/skip_all/test.c +++ b/tap/tests/plan/skip_all/test.c | |||
| @@ -26,9 +26,7 @@ | |||
| 26 | 26 | ||
| 27 | #include "tap.h" | 27 | #include "tap.h" |
| 28 | 28 | ||
| 29 | int | 29 | int main(int argc, char *argv[]) { |
| 30 | main(int argc, char *argv[]) | ||
| 31 | { | ||
| 32 | unsigned int rc = 0; | 30 | unsigned int rc = 0; |
| 33 | 31 | ||
| 34 | rc = plan_skip_all("No good reason"); | 32 | rc = plan_skip_all("No good reason"); |
diff --git a/tap/tests/plan/too-many-plans/test.c b/tap/tests/plan/too-many-plans/test.c index b189cb72..5f45bc48 100644 --- a/tap/tests/plan/too-many-plans/test.c +++ b/tap/tests/plan/too-many-plans/test.c | |||
| @@ -28,9 +28,7 @@ | |||
| 28 | 28 | ||
| 29 | #include "tap.h" | 29 | #include "tap.h" |
| 30 | 30 | ||
| 31 | int | 31 | int main(int argc, char *argv[]) { |
| 32 | main(int argc, char *argv[]) | ||
| 33 | { | ||
| 34 | unsigned int rc = 0; | 32 | unsigned int rc = 0; |
| 35 | 33 | ||
| 36 | rc = plan_tests(1); | 34 | rc = plan_tests(1); |
diff --git a/tap/tests/plan/too-many-tests/test.c b/tap/tests/plan/too-many-tests/test.c index 0f724104..0b2ee161 100644 --- a/tap/tests/plan/too-many-tests/test.c +++ b/tap/tests/plan/too-many-tests/test.c | |||
| @@ -28,9 +28,7 @@ | |||
| 28 | 28 | ||
| 29 | #include "tap.h" | 29 | #include "tap.h" |
| 30 | 30 | ||
| 31 | int | 31 | int main(int argc, char *argv[]) { |
| 32 | main(int argc, char *argv[]) | ||
| 33 | { | ||
| 34 | unsigned int rc = 0; | 32 | unsigned int rc = 0; |
| 35 | 33 | ||
| 36 | rc = plan_tests(5); | 34 | rc = plan_tests(5); |
