Skip to content

Commit 5cba452

Browse files
committed
...
1 parent 2c319ff commit 5cba452

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

tests/scenario.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ bool extract_unit(FILE* f, std::string& request, std::string& expect, int& conne
9696
else{
9797
if (*line == 'c'){
9898
if (strncmp(line+1, UNIT_DELAY, 5) == 0){
99-
printf("Close connection after step\n", line);
99+
printf("Close connection after step: %c\n", line);
100100
close = true;
101101
line = NULL;
102102
}

tests/tests_system_simple.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ static const char * test_simple_put_get() {
1717
result |= !run_scenarios(binary_path, "interruptions", testcases_path, port ? port : 8001, port == 0, "");
1818
result |= !run_scenarios(binary_path, "complex-system", testcases_path, port ? port : 8001, port == 0, "");
1919

20-
return result ? "System Tests failed" : NULL;
20+
return result ? "System Tests failed" : nullptr;
2121
}
2222

2323
static const char * test_simple(const char* a_binary_path, const char* a_testcases_path, int a_port) {
2424
binary_path = a_binary_path;
2525
testcases_path = a_testcases_path;
2626
port = a_port;
2727
mu_run_test(test_simple_put_get);
28-
return 0;
28+
return nullptr;
2929
}

0 commit comments

Comments
 (0)