1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-11-30 18:04:31 +00:00

fix clang-format

This commit is contained in:
Bret Curtis 2023-04-28 16:31:08 +02:00
parent 4e2b5c1982
commit 13c4179cff

View file

@ -4,24 +4,18 @@
#include <sstream> #include <sstream>
#include <vector> #include <vector>
struct TestParam struct TestParam
{ {
std::string name; std::string name;
std::string fileName; std::string fileName;
}; };
const std::vector<TestParam> testParams = { const std::vector<TestParam> testParams = { { "ascii", "ascii" }, { "unicode", "(╯°□°)╯︵ ┻━┻" }, { "emoji", "💩" } };
{ "ascii", "ascii" },
{ "unicode", "(╯°□°)╯︵ ┻━┻"},
{ "emoji", "💩"}
};
class IniImporterTest : public ::testing::TestWithParam<TestParam> class IniImporterTest : public ::testing::TestWithParam<TestParam>
{ {
}; };
TEST_P(IniImporterTest, TestIniImport) TEST_P(IniImporterTest, TestIniImport)
{ {
auto param = IniImporterTest::GetParam(); auto param = IniImporterTest::GetParam();
@ -64,7 +58,6 @@ fallback-archive=game2.bsa
INSTANTIATE_TEST_SUITE_P(IniImporterTests, IniImporterTest, ::testing::ValuesIn(testParams)); INSTANTIATE_TEST_SUITE_P(IniImporterTests, IniImporterTest, ::testing::ValuesIn(testParams));
int main(int argc, char* argv[]) int main(int argc, char* argv[])
{ {
testing::InitGoogleTest(&argc, argv); testing::InitGoogleTest(&argc, argv);