[block_t] a superblock_zero test was mistakenly calling plain write_lock.

This commit is contained in:
Joe Thornber 2013-04-29 12:05:55 +01:00
parent 1fe0df9f1a
commit a0f53f47aa

View File

@ -392,13 +392,13 @@ TEST_F(ValidatorTests, validator_can_be_changed_by_superblock_zero)
{
expect_no_check(vmock);
expect_prepare(vmock);
bm4096::write_ref wr = bm->write_lock(0, vmock);
bm4096::write_ref wr = bm->superblock_zero(0, vmock);
}
expect_no_check(vmock2);
expect_prepare(vmock2);
bm4096::write_ref wr = bm->write_lock(0, vmock2);
bm4096::write_ref wr = bm->superblock_zero(0, vmock2);
}
//----------------------------------------------------------------