ensure latest log text is correct when appended
This commit is contained in:
@@ -58,6 +58,15 @@ append_to_empty(TestState *s)
|
||||
0
|
||||
);
|
||||
|
||||
// log should say "foo"
|
||||
print("\t\t\ttext\n");
|
||||
chk_str_eq(
|
||||
s,
|
||||
"ERROR: append_test_log(): append to empty: first_log: text:",
|
||||
test.first_log->text,
|
||||
"foo"
|
||||
);
|
||||
|
||||
// last_log should match first_log
|
||||
print("\t\tlast_log\n");
|
||||
chk_ptr_eq(
|
||||
|
||||
Reference in New Issue
Block a user