Browse Source

Fixed test for File class

- fixed "lastModified" test by narrowing the expected value
pcmattulat 4 years ago
parent
commit
466dc2582b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/cases/io/FileTest.cpp

+ 1 - 1
test/cases/io/FileTest.cpp

@@ -165,7 +165,7 @@ namespace {
   TEST_F(FileTest, lastModified)
   {
     ls_std::File file {this->fileLocation};
-    ASSERT_EQ(1597475488, file.lastModified());
+    ASSERT_TRUE(file.lastModified() > 1590000000);
   }
 
   TEST_F(FileTest, makeDirectory)