commit 8891b3c22890bbfc8e4b7c969aeaf5968e3f889a
parent 30f7af784974067f5b3191f5d7a57fb411a3d501
Author: cfillion <cfillion@users.noreply.github.com>
Date: Mon, 30 Jan 2017 12:33:02 -0800
path: fix broken unit test on Windows since e88c2088a77917474db9466a4578b217b7ac80e2
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/test/path.cpp b/test/path.cpp
@@ -81,7 +81,11 @@ TEST_CASE("strip trailing/leading slashes", M) {
a.append(Path("/e/f/"));
REQUIRE(a.size() == 6);
+#ifndef _WIN32
REQUIRE(a.join() == "a/b/c/d/e/f");
+#else
+ REQUIRE(a.join() == "a\\b\\c\\d\\e\\f");
+#endif
}
TEST_CASE("clear path", M) {