diff --git a/test/append-test-log.c b/test/append-test-log.c index 2e1a42e..2d19797 100644 --- a/test/append-test-log.c +++ b/test/append-test-log.c @@ -96,6 +96,15 @@ append_to_existing(TestState *s) test.last_log = &second; 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