diff options
Diffstat (limited to 'tests/test-elf.cpp')
-rw-r--r-- | tests/test-elf.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-elf.cpp b/tests/test-elf.cpp index 0bf1d42..737ba65 100644 --- a/tests/test-elf.cpp +++ b/tests/test-elf.cpp @@ -53,7 +53,7 @@ TEST_F(ElfTest, write_code) { }, {}); ASSERT_TRUE(fs::exists(TempFilename())); - ASSERT_GT(fs::file_size(TempFilename()), 0); + ASSERT_GT(fs::file_size(TempFilename()), size_t(0)); } TEST_F(ElfTest, write_code_data) { @@ -67,5 +67,5 @@ TEST_F(ElfTest, write_code_data) { {1, 0, 0, 0, 0, 0, 0, 0}); ASSERT_TRUE(fs::exists(TempFilename())); - ASSERT_GT(fs::file_size(TempFilename()), 0); + ASSERT_GT(fs::file_size(TempFilename()), size_t(0)); } |