ensure first_log and last_log match when appending to empty log

This commit is contained in:
jlamothe 2023-11-11 21:49:52 +00:00
parent 9f4a51d8c7
commit 63f0bd73e4

View File

@ -57,6 +57,15 @@ append_to_empty(TestState *s)
test.first_log, test.first_log,
0 0
); );
// last_log should match first_log
print("\t\tlast_log\n");
chk_ptr_eq(
s,
"ERROR: append_test_log(): append to empty: last_log:",
test.last_log,
test.first_log
);
} }
//jl //jl