[unit test] Complete FUSE unit tests #22
This commit is contained in:
@@ -336,11 +336,9 @@ TEST_P(utils_encryption_read_encrypted_range_fixture, single_byte_read) {
|
||||
|
||||
TEST_P(utils_encryption_read_encrypted_range_fixture,
|
||||
begin_at_exact_chunk_boundary) {
|
||||
if (chunk == 0U) {
|
||||
GTEST_SKIP() << "chunk size is zero (unexpected)";
|
||||
}
|
||||
ASSERT_NE(chunk, 0U);
|
||||
|
||||
std::uint64_t begin = static_cast<std::uint64_t>(chunk);
|
||||
auto begin = static_cast<std::uint64_t>(chunk);
|
||||
std::uint64_t end = begin + 1024U - 1U;
|
||||
if (end >= plain_sz)
|
||||
end = static_cast<std::uint64_t>(plain_sz) - 1U;
|
||||
|
||||
Reference in New Issue
Block a user