From 0802bc845d1b920c1bc365a791363348e79266f5 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Fri, 7 Apr 2023 10:07:26 +0200 Subject: [PATCH] Extended unit test --- src/tl/unit_tests/tlFileUtilsTests.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tl/unit_tests/tlFileUtilsTests.cc b/src/tl/unit_tests/tlFileUtilsTests.cc index 78b173502..40f1c69a7 100644 --- a/src/tl/unit_tests/tlFileUtilsTests.cc +++ b/src/tl/unit_tests/tlFileUtilsTests.cc @@ -805,6 +805,9 @@ TEST (19) std::string home = tl::get_home_path (); // no specific value, just something ... EXPECT_EQ (home.size () > 5, true); +#if defined(HAVE_QT) + EXPECT_EQ (home, tl::to_string (QDir::homePath ())); +#endif } // absolute path with "~" expansion