| 173 | |
| 174 | struct NoIncludeConfTest { |
| 175 | std::string Parse(const char* arg) |
| 176 | { |
| 177 | TestArgsManager test; |
| 178 | test.SetupArgs({{"-includeconf", ArgsManager::ALLOW_ANY}}); |
| 179 | std::array argv{"ignored", arg}; |
| 180 | std::string error; |
| 181 | (void)test.ParseParameters(argv.size(), argv.data(), error); |
| 182 | return error; |
| 183 | } |
| 184 | }; |
| 185 | |
| 186 | BOOST_FIXTURE_TEST_CASE(util_NoIncludeConf, NoIncludeConfTest) |
nothing calls this directly
no test coverage detected