Skip to content

Commit e2a31da

Browse files
azrogersj9liu
andauthored
Update CesiumNativeTests/src/checkFilesEqual.cpp
Co-authored-by: Janine Liu <32226860+j9liu@users.noreply.github.com>
1 parent 51ba1ce commit e2a31da

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

CesiumNativeTests/src/checkFilesEqual.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ void checkFilesEqual(
1414
const std::vector<std::byte>& bytes = readFile(fileA);
1515
const std::vector<std::byte>& bytes2 = readFile(fileB);
1616

17-
REQUIRE(bytes.size() == bytes2.size());
18-
for (size_t i = 0; i < bytes.size(); i++) {
19-
CHECK(bytes[i] == bytes2[i]);
20-
}
17+
REQUIRE(bytes == bytes2);
2118
}
2219
} // namespace CesiumNativeTests

0 commit comments

Comments
 (0)