diff options
Diffstat (limited to 'src/test.cpp')
-rw-r--r-- | src/test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test.cpp b/src/test.cpp index 2a25ed656..f778f2d91 100644 --- a/src/test.cpp +++ b/src/test.cpp @@ -393,9 +393,9 @@ struct TestMapBlock MAP_BLOCKSIZE, MAP_BLOCKSIZE));*/ // Changed flag should be initially set - assert(b.getChangedFlag() == true); - b.resetChangedFlag(); - assert(b.getChangedFlag() == false); + assert(b.getModified() == MOD_STATE_WRITE_NEEDED); + b.resetModified(); + assert(b.getModified() == MOD_STATE_CLEAN); // All nodes should have been set to // .d=CONTENT_IGNORE and .getLight() = 0 |