summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-22 03:14:44 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-22 03:14:44 +0300
commit08bcb3fd512f6fdd2663a29f39a0e716114b7d3f (patch)
treea7bf7f605593a6ab723e02a381c39579e369f066 /src
parentc99419ad2458153e3bf7f6463baf7a93ee6ed57f (diff)
downloadplus-08bcb3fd512f6fdd2663a29f39a0e716114b7d3f.tar.gz
plus-08bcb3fd512f6fdd2663a29f39a0e716114b7d3f.tar.bz2
plus-08bcb3fd512f6fdd2663a29f39a0e716114b7d3f.tar.xz
plus-08bcb3fd512f6fdd2663a29f39a0e716114b7d3f.zip
Fix new unit tests on windows.
Diffstat (limited to 'src')
-rw-r--r--src/fs/files_unittest.cc5
1 files changed, 0 insertions, 5 deletions
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")