src/storage/blobfs/test/unit/format-test.cc
// Blobfs can be formatted on devices that have "trailing device block(s)" that
// cannot be fully addressed by blobfs blocks.
Blobfs can be formatted on devices that have "trailing device block(s)" that
cannot be fully addressed by blobfs blocks.
Blobfs can be formatted on devices that have " trailing device block ( s ) " that cannot be fully addressed by blobfs blocks .
TEST(FormatFilesystemTest, FormatNonFVMDeviceWithTrailingDiskBlock) {
  const uint64_t kBlockCount = (1 << 20) + 1;
  const uint32_t kBlockSize = 512;
  auto device = std::make_unique<FakeBlockDevice>(kBlockCount, kBlockSize);
  ASSERT_EQ(FormatFilesystem(device.get()), ZX_OK);
  ASSERT_EQ(CheckMountability(std::move(device)), ZX_OK);
}
TEST ( FormatFilesystemTest , FormatNonFVMDeviceWithTrailingDiskBlock ) { const uint64_t kBlockCount = ( 1 << 20 ) + 1 ; const uint32_t kBlockSize = 512 ; auto device = std :: make_unique < FakeBlockDevice > ( kBlockCount , kBlockSize ) ; ASSERT_EQ ( FormatFilesystem ( device . get ( ) ) , ZX_OK ) ; ASSERT_EQ ( CheckMountability ( std :: move ( device ) ) , ZX_OK ) ; }
Blobfs can be formatted on devices that have "trailing device block(s)" that
cannot be fully addressed by blobfs blocks.
Blobfs can be formatted on devices that have " trailing device block ( s ) " that cannot be fully addressed by blobfs blocks .