Skip to content

Commit

Permalink
fixup tests
Browse files Browse the repository at this point in the history
  • Loading branch information
CelticMinstrel committed Oct 24, 2018
1 parent 31465c4 commit 0a3b240
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests/test_filesystem.cpp
Expand Up @@ -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 )
Expand All @@ -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");
Expand Down

0 comments on commit 0a3b240

Please sign in to comment.