update supported cmake versions and add some tests with newer compilers (#972)

Update and test with some newer compilers and cmake versions

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Philip Top
2024-01-08 05:40:26 -08:00
committed by GitHub
parent 9dfeefe2ba
commit 35aa92d71a
41 changed files with 416 additions and 356 deletions

View File

@@ -20,7 +20,7 @@ TEST_CASE_METHOD(TApp, "ExistingExeCheck", "[stringparse]") {
{
std::ofstream out{tmpexe};
out << "useless string doesn't matter" << std::endl;
out << "useless string doesn't matter" << '\n';
}
app.parse(std::string("./") + std::string(tmpexe) +
@@ -42,7 +42,7 @@ TEST_CASE_METHOD(TApp, "ExistingExeCheckWithSpace", "[stringparse]") {
{
std::ofstream out{tmpexe};
out << "useless string doesn't matter" << std::endl;
out << "useless string doesn't matter" << '\n';
}
app.parse(std::string("./") + std::string(tmpexe) +
@@ -66,7 +66,7 @@ TEST_CASE_METHOD(TApp, "ExistingExeCheckWithLotsOfSpace", "[stringparse]") {
{
std::ofstream out{tmpexe};
out << "useless string doesn't matter" << std::endl;
out << "useless string doesn't matter" << '\n';
}
app.parse(std::string("./") + std::string(tmpexe) +