From 317617a14a27bf50a8fbecd855ddfb6643d18b37 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sat, 8 Apr 2023 09:08:31 +0200 Subject: [PATCH] Fixed unit tests for Windows --- src/tl/unit_tests/tlFileUtilsTests.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tl/unit_tests/tlFileUtilsTests.cc b/src/tl/unit_tests/tlFileUtilsTests.cc index 40f1c69a7..f328b28b1 100644 --- a/src/tl/unit_tests/tlFileUtilsTests.cc +++ b/src/tl/unit_tests/tlFileUtilsTests.cc @@ -806,7 +806,7 @@ TEST (19) // no specific value, just something ... EXPECT_EQ (home.size () > 5, true); #if defined(HAVE_QT) - EXPECT_EQ (home, tl::to_string (QDir::homePath ())); + EXPECT_EQ (tl::replaced (home, "\\", "/"), tl::replaced (tl::to_string (QDir::homePath ()), "\\", "/")); #endif }