From 08bcb3fd512f6fdd2663a29f39a0e716114b7d3f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 22 Apr 2017 03:14:44 +0300 Subject: Fix new unit tests on windows. --- src/fs/files_unittest.cc | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/fs') diff --git a/src/fs/files_unittest.cc b/src/fs/files_unittest.cc index f6d1c91df..34a01983d 100644 --- a/src/fs/files_unittest.cc +++ b/src/fs/files_unittest.cc @@ -157,12 +157,7 @@ TEST_CASE("Files copyFile1") pathJoin(dir, "tempfile.txt")) == 0); std::string data = VirtFs::loadTextFileString("test/tempfile.txt"); ::remove((dir + "/tempfile.txt").c_str()); -#ifdef WIN32 - REQUIRE(data == "test line 1\r\ntest line 2"); -#else // WIN32 - REQUIRE(data == "test line 1\ntest line 2"); -#endif // WIN32 } SECTION("errors") -- cgit v1.2.3-70-g09d2