clang-tidy: use uppercase numeric literals
Found with readability-uppercase-literal-suffix Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
committed by
Luis Díaz Más
parent
8e178e912e
commit
c73dfa0106
@@ -51,13 +51,13 @@ TEST(AFileIO, returnsFileSizeIfItsOpened)
|
||||
{
|
||||
FileIo file(imagePath);
|
||||
file.open();
|
||||
ASSERT_EQ(118685ul, file.size());
|
||||
ASSERT_EQ(118685UL, file.size());
|
||||
}
|
||||
|
||||
TEST(AFileIO, returnsFileSizeEvenWhenFileItIsNotOpened)
|
||||
{
|
||||
FileIo file(imagePath);
|
||||
ASSERT_EQ(118685ul, file.size());
|
||||
ASSERT_EQ(118685UL, file.size());
|
||||
}
|
||||
|
||||
TEST(AFileIO, isOpenedAtPosition0)
|
||||
|
||||
Reference in New Issue
Block a user