diff --git a/src/tests/test_commandline_options.cpp b/src/tests/test_commandline_options.cpp index ef18e6584d4a..e18d1aabdd17 100644 --- a/src/tests/test_commandline_options.cpp +++ b/src/tests/test_commandline_options.cpp @@ -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", diff --git a/src/tests/test_filesystem.cpp b/src/tests/test_filesystem.cpp index c7b253f82606..bba7cc2260ae 100644 --- a/src/tests/test_filesystem.cpp +++ b/src/tests/test_filesystem.cpp @@ -90,19 +90,19 @@ BOOST_AUTO_TEST_CASE( test_fs_enum ) { const std::string path = "data/test/test/filesystem/enum"; - const std::vector expected_filenames = list_of - ("_initial.cfg") - ("A1.cfg") - ("A2.cfg") - ("A3.cfg") - ("B1.cfg") - ("B2.cfg") - ("B3.cfg") - ("_final.cfg"); - const std::vector expected_dirnames = list_of - ("D1") - ("D2") - ("D3"); + const std::vector expected_filenames = { + "_initial.cfg", + "A1.cfg", + "A2.cfg", + "A3.cfg", + "B1.cfg", + "B2.cfg", + "B3.cfg", + "_final.cfg"}; + const std::vector expected_dirnames = { + "D1", + "D2", + "D3"}; std::vector files, dirs; std::vector expected_filepaths, expected_dirpaths;