diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 01:30:50 +0100 |
---|---|---|
committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 01:30:50 +0100 |
commit | 880e57271d66b34240b58bdbeaf9d53a08958eb2 (patch) | |
tree | 73bbcd7f37ecadb6a117a9cd654df39e60e22180 /lib/tests/test_cmd.c | |
parent | e480c2bf48e1e905310f10ffbf1ddb190bf2e107 (diff) | |
download | monitoring-plugins-880e57271d66b34240b58bdbeaf9d53a08958eb2.tar.gz |
lib: clang-format
Diffstat (limited to 'lib/tests/test_cmd.c')
-rw-r--r-- | lib/tests/test_cmd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/tests/test_cmd.c b/lib/tests/test_cmd.c index a60b64e1..c8867dfb 100644 --- a/lib/tests/test_cmd.c +++ b/lib/tests/test_cmd.c | |||
@@ -140,7 +140,8 @@ int main(int argc, char **argv) { | |||
140 | ok(chld_err.lines == 0, "(array) Check for expected number of stderr lines"); | 140 | ok(chld_err.lines == 0, "(array) Check for expected number of stderr lines"); |
141 | ok(strcmp(chld_out.line[0], "this is a test via echo") == 0, "(array) Check line 1 for expected stdout output"); | 141 | ok(strcmp(chld_out.line[0], "this is a test via echo") == 0, "(array) Check line 1 for expected stdout output"); |
142 | ok(strcmp(chld_out.line[1], "line two") == 0, "(array) Check line 2 for expected stdout output"); | 142 | ok(strcmp(chld_out.line[1], "line two") == 0, "(array) Check line 2 for expected stdout output"); |
143 | ok(strcmp(chld_out.line[2], "it's line 3 and (note space between '3' and 'and') $$ will not get evaluated") == 0, "(array) Check line 3 for expected stdout output"); | 143 | ok(strcmp(chld_out.line[2], "it's line 3 and (note space between '3' and 'and') $$ will not get evaluated") == 0, |
144 | "(array) Check line 3 for expected stdout output"); | ||
144 | ok(result == 0, "(array) Checking exit code"); | 145 | ok(result == 0, "(array) Checking exit code"); |
145 | 146 | ||
146 | /* ensure everything is empty again */ | 147 | /* ensure everything is empty again */ |