ensure first_log doesn't change on append
This commit is contained in:
parent
586bbe71ed
commit
fc167d8d05
|
@ -96,6 +96,15 @@ append_to_existing(TestState *s)
|
||||||
test.last_log = &second;
|
test.last_log = &second;
|
||||||
|
|
||||||
append_test_log(&test, "baz");
|
append_test_log(&test, "baz");
|
||||||
|
|
||||||
|
// first shouldn't change
|
||||||
|
print("\t\tfirst_log\n");
|
||||||
|
chk_ptr_eq(
|
||||||
|
s,
|
||||||
|
"ERROR: append_test_log(): first_log:",
|
||||||
|
test.first_log,
|
||||||
|
&first
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
//jl
|
//jl
|
||||||
|
|
Loading…
Reference in New Issue
Block a user