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:
parent
61fb575757
commit
34db13dd67
1 changed files with 8 additions and 3 deletions
|
@ -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>
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue