1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-07 06:15:34 +00:00

clang-format always knows best

This commit is contained in:
Bret Curtis 2023-05-02 09:51:33 +02:00
parent 61fb575757
commit 34db13dd67

View file

@ -42,11 +42,15 @@ int runBinary(
{
#ifdef _WIN32
std::wstringstream cmd;
cmd << binaryPath.native() << L" -i " << '"' << iniPath.native() << '"' << L" -c " << '"' << cfgPath.native() << '"';
cmd << binaryPath.native() << L" -i " << '"' << iniPath.native() << '"' << L" -c " << '"' << cfgPath.native()
<< '"';
return _wsystem(cmd.str().c_str());
#else
std::stringstream cmd;
cmd << binaryPath << " -i " << "'" << iniPath << "'" << " -c " << "'" << cfgPath << "'";
cmd << binaryPath << " -i "
<< "'" << iniPath << "'"
<< " -c "
<< "'" << cfgPath << "'";
return std::system(cmd.str().c_str());
#endif
}
@ -57,7 +61,8 @@ struct TestParam
std::string fileName;
};
const std::vector<TestParam> testParams = { { "ascii", "ascii" }, { "space", "spaaaaa ce" }, { "unicode", "(╯°□°)╯︵ ┻━┻" }, { "emoji", "💩" } };
const std::vector<TestParam> testParams
= { { "ascii", "ascii" }, { "space", "spaaaaa ce" }, { "unicode", "(╯°□°)╯︵ ┻━┻" }, { "emoji", "💩" } };
class IniImporterTest : public ::testing::TestWithParam<TestParam>
{