Skip to content

Commit

Permalink
note on how to fix the current test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
tantaman committed Oct 15, 2023
1 parent 84341ef commit ffe462e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/src/crsqlite.test.c
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,9 @@ static void noopsDoNotMoveClocks() {
sqlite3_int64 db1vPost = getDbVersion(db1);
sqlite3_int64 db2vPost = getDbVersion(db2);

// TODO: we still need to compare values so as not to bump the db_version
// forward on a no-difference
printf("db1 pre: %lld db2 post: %lld", db1vPre, db2vPost);
assert(db1vPre == db2vPost);
assert(db1vPre == db1vPost);

Expand Down

0 comments on commit ffe462e

Please sign in to comment.