Skip to content

Commit

Permalink
Remove wrong assert.
Browse files Browse the repository at this point in the history
GitOrigin-RevId: f7332c17d9746d9deccab802de970ca0651552bd
  • Loading branch information
levlam committed Jul 6, 2020
1 parent 01d367e commit 448a765
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tdutils/test/port.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 448a765

Please sign in to comment.