diff --git a/src/tests/test_filesystem.cpp b/src/tests/test_filesystem.cpp index fff4d3d256964..beb20c1ae6fc1 100644 --- a/src/tests/test_filesystem.cpp +++ b/src/tests/test_filesystem.cpp @@ -162,7 +162,7 @@ BOOST_AUTO_TEST_CASE( test_fs_wml_path ) { BOOST_CHECK_EQUAL( get_wml_location("_main.cfg"), gamedata + "/data/_main.cfg" ); BOOST_CHECK_EQUAL( get_wml_location("core/_main.cfg"), gamedata + "/data/core/_main.cfg" ); - BOOST_CHECK_EQUAL( get_wml_location("."), "." ); + BOOST_CHECK_EQUAL( get_wml_location("."), gamedata + "/data/." ); // Inexistent paths are resolved empty. BOOST_CHECK( get_wml_location("why_would_anyone_ever_name_a_file_like_this").empty() );