mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-06 00:40:04 +00:00
fix clang-format
This commit is contained in:
parent
4e2b5c1982
commit
13c4179cff
@ -4,24 +4,18 @@
|
||||
#include <sstream>
|
||||
#include <vector>
|
||||
|
||||
|
||||
struct TestParam
|
||||
{
|
||||
std::string name;
|
||||
std::string fileName;
|
||||
};
|
||||
|
||||
const std::vector<TestParam> testParams = {
|
||||
{ "ascii", "ascii" },
|
||||
{ "unicode", "(╯°□°)╯︵ ┻━┻"},
|
||||
{ "emoji", "💩"}
|
||||
};
|
||||
const std::vector<TestParam> testParams = { { "ascii", "ascii" }, { "unicode", "(╯°□°)╯︵ ┻━┻" }, { "emoji", "💩" } };
|
||||
|
||||
class IniImporterTest : public ::testing::TestWithParam<TestParam>
|
||||
{
|
||||
};
|
||||
|
||||
|
||||
TEST_P(IniImporterTest, TestIniImport)
|
||||
{
|
||||
auto param = IniImporterTest::GetParam();
|
||||
@ -64,7 +58,6 @@ fallback-archive=game2.bsa
|
||||
|
||||
INSTANTIATE_TEST_SUITE_P(IniImporterTests, IniImporterTest, ::testing::ValuesIn(testParams));
|
||||
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
testing::InitGoogleTest(&argc, argv);
|
||||
|
Loading…
x
Reference in New Issue
Block a user