Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
CelticMinstrel committed Mar 31, 2016
1 parent a0a8836 commit c8a7143
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/tests/test_commandline_options.cpp
Expand Up @@ -207,7 +207,7 @@ BOOST_AUTO_TEST_CASE (test_full_options)
"--label=labelfoo",
"--load=loadfoo",
"--log-error=errfoo,errbar/*",
"--log-warning=warnfoo,warnfoo/bar",)
"--log-warning=warnfoo,warnfoo/bar",
"--log-info=infofoo",
"--log-debug=dbgfoo,dbgbar,dbg/foo/bar/baz",
"--logdomains=filterfoo",
Expand Down
26 changes: 13 additions & 13 deletions src/tests/test_filesystem.cpp
Expand Up @@ -90,19 +90,19 @@ BOOST_AUTO_TEST_CASE( test_fs_enum )
{
const std::string path = "data/test/test/filesystem/enum";

const std::vector<std::string> expected_filenames = list_of
("_initial.cfg")
("A1.cfg")
("A2.cfg")
("A3.cfg")
("B1.cfg")
("B2.cfg")
("B3.cfg")
("_final.cfg");
const std::vector<std::string> expected_dirnames = list_of
("D1")
("D2")
("D3");
const std::vector<std::string> expected_filenames = {
"_initial.cfg",
"A1.cfg",
"A2.cfg",
"A3.cfg",
"B1.cfg",
"B2.cfg",
"B3.cfg",
"_final.cfg"};
const std::vector<std::string> expected_dirnames = {
"D1",
"D2",
"D3"};

std::vector<std::string> files, dirs;
std::vector<std::string> expected_filepaths, expected_dirpaths;
Expand Down

0 comments on commit c8a7143

Please sign in to comment.