Compare commits
1 Commits
35f1902cbc
...
dc9aed00a6
| Author | SHA1 | Date | |
|---|---|---|---|
|
dc9aed00a6
|
@@ -47,7 +47,7 @@ ping_server(void **state)
|
||||
prof_input("/ping");
|
||||
|
||||
prof_timeout(10);
|
||||
assert_true(prof_output_regex("INTENTIONAL FAILURE"));
|
||||
assert_true(prof_output_regex("Pinged server"));
|
||||
prof_timeout_reset();
|
||||
}
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ replace_one_substr(void** state)
|
||||
|
||||
char* result = str_replace(string, sub, new);
|
||||
|
||||
assert_string_equal("it was a string", result);
|
||||
assert_string_equal("INTENTIONAL FAILURE", result);
|
||||
|
||||
free(result);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user