Fix warning.
GitOrigin-RevId: 5e4ba1a98ba2675d60b469ae5401d2b9907b66b9
This commit is contained in:
parent
45bb48bfa7
commit
30e47390aa
@ -102,7 +102,7 @@ TEST(Port, SparseFiles) {
|
||||
ASSERT_EQ(0, fd.get_size().move_as_ok());
|
||||
ASSERT_EQ(0, fd.get_real_size().move_as_ok());
|
||||
int64 offset = 100000000;
|
||||
fd.pwrite("a", offset);
|
||||
fd.pwrite("a", offset).ensure();
|
||||
ASSERT_EQ(offset + 1, fd.get_size().move_as_ok());
|
||||
auto real_size = fd.get_real_size().move_as_ok();
|
||||
if (real_size == offset + 1) {
|
||||
|
Loading…
Reference in New Issue
Block a user