Remove wrong assert.

GitOrigin-RevId: f7332c17d9746d9deccab802de970ca0651552bd
This commit is contained in:
levlam 2020-07-06 17:45:33 +03:00
parent 01d367ea9b
commit 448a765cda

View File

@ -100,7 +100,6 @@ TEST(Port, SparseFiles) {
unlink(path).ignore();
auto fd = FileFd::open(path, FileFd::Write | FileFd::CreateNew).move_as_ok();
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).ensure();
ASSERT_EQ(offset + 1, fd.get_size().move_as_ok());