ensure first_log and last_log match when appending to empty log
This commit is contained in:
parent
9f4a51d8c7
commit
63f0bd73e4
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user