diff options
Diffstat (limited to 'payload_consumer/snapshot_extent_writer_unittest.cc')
-rw-r--r-- | payload_consumer/snapshot_extent_writer_unittest.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/payload_consumer/snapshot_extent_writer_unittest.cc b/payload_consumer/snapshot_extent_writer_unittest.cc index 0e22482b..22010433 100644 --- a/payload_consumer/snapshot_extent_writer_unittest.cc +++ b/payload_consumer/snapshot_extent_writer_unittest.cc @@ -107,7 +107,7 @@ void AddExtent(google::protobuf::RepeatedPtrField<Extent>* extents, TEST_F(SnapshotExtentWriterTest, BufferWrites) { google::protobuf::RepeatedPtrField<Extent> extents; AddExtent(&extents, 123, 1); - writer_.Init(nullptr, extents, kBlockSize); + writer_.Init(extents, kBlockSize); std::vector<uint8_t> buf(kBlockSize, 0); buf[123] = 231; @@ -130,7 +130,7 @@ TEST_F(SnapshotExtentWriterTest, NonBufferedWrites) { google::protobuf::RepeatedPtrField<Extent> extents; AddExtent(&extents, 123, 1); AddExtent(&extents, 125, 1); - writer_.Init(nullptr, extents, kBlockSize); + writer_.Init(extents, kBlockSize); std::vector<uint8_t> buf(kBlockSize * 2, 0); buf[123] = 231; @@ -153,7 +153,7 @@ TEST_F(SnapshotExtentWriterTest, WriteAcrossBlockBoundary) { google::protobuf::RepeatedPtrField<Extent> extents; AddExtent(&extents, 123, 1); AddExtent(&extents, 125, 2); - writer_.Init(nullptr, extents, kBlockSize); + writer_.Init(extents, kBlockSize); std::vector<uint8_t> buf(kBlockSize * 3); std::memset(buf.data(), 0, buf.size()); |