From 0a3b24099deb6ca6d1781c905f7d79d49fedf275 Mon Sep 17 00:00:00 2001 From: Celtic Minstrel Date: Sun, 7 May 2017 14:56:45 -0400 Subject: [PATCH] fixup tests --- src/tests/test_filesystem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/test_filesystem.cpp b/src/tests/test_filesystem.cpp index 545d3536bc4c..5c2efefb3d47 100644 --- a/src/tests/test_filesystem.cpp +++ b/src/tests/test_filesystem.cpp @@ -171,7 +171,7 @@ BOOST_AUTO_TEST_CASE( test_fs_binary_path ) // Unsafe paths are resolved empty. BOOST_CHECK(get_binary_file_location("images", "..").empty()); - BOOST_CHECK(get_binary_file_location("images", "../sounds/bell.wav").empty()) + BOOST_CHECK(get_binary_file_location("images", "../sounds/bell.wav").empty()); } BOOST_AUTO_TEST_CASE( test_fs_wml_path ) @@ -187,7 +187,7 @@ BOOST_AUTO_TEST_CASE( test_fs_wml_path ) BOOST_CHECK_EQUAL(get_wml_location("/"), gamedata + "/data") BOOST_CHECK_EQUAL( get_wml_location("~/"), userdata + "/data/" ); - BOOST_CHECK_EQUAL(get_wml_lcation("~addons"), userdata + "/data/addons"); + BOOST_CHECK_EQUAL(get_wml_location("~addons"), userdata + "/data/addons"); BOOST_CHECK_EQUAL(get_wml_location(".", get_wml_location("core/units")), gamedata + "/data/core/units"); BOOST_CHECK_EQUAL(get_wml_location("./bats", get_wml_location("core/units")), gamedata + "/data/core/units/bats");