#include #include TEST_CASE("Comments and empty lines are ignored") { using Required = Garbage::SimpleConf::Required; using LookupError = Garbage::SimpleConfImplementation::LookupError; std::filesystem::path path("TestConfigs/Comments.conf"); Garbage::SimpleConf config(path); REQUIRE_THROWS_AS((config.Get("this shouldn't")), LookupError); REQUIRE(config.Get("while this") == "is accessible"); }