Commit 748fef0e authored by Kenneth Hanley's avatar Kenneth Hanley
Browse files

Format source files

parent c36e665c
......@@ -14,7 +14,7 @@ struct overloaded : Ts... {
};
template<class... Ts>
overloaded(Ts...)->overloaded<Ts...>;
overloaded(Ts...) -> overloaded<Ts...>;
int main(int argc, char* argv[])
......
......@@ -91,15 +91,16 @@ TEST_CASE(
auto includes = megadep::read_includes(this_file);
// includes copy/pasted from the top of this file!!
std::vector<std::string> expected_includes = {"<megadep/filesystem.hpp>",
"<megadep/config.hpp>",
"<catch2/catch.hpp>",
"<algorithm>",
"<array>",
"<cstdio>",
"<cstring>",
"<string>",
"<vector>"};
std::vector<std::string> expected_includes = {
"<megadep/filesystem.hpp>",
"<megadep/config.hpp>",
"<catch2/catch.hpp>",
"<algorithm>",
"<array>",
"<cstdio>",
"<cstring>",
"<string>",
"<vector>"};
std::sort(includes.begin(), includes.end());
std::sort(expected_includes.begin(), expected_includes.end());
......@@ -119,8 +120,8 @@ TEST_CASE(
const std::string megadep_include = "src";
const std::string catch2_include = "external/catch2/single_include";
const std::vector<std::string> search_directories = {megadep_include,
catch2_include};
const std::vector<std::string> search_directories = {
megadep_include, catch2_include};
SECTION ("read includes from this_file.") {
auto includes = megadep::read_includes(this_file);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment