From 914b26caec4c2c6464f643627ff5683e5eeaca72 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sun, 23 Jan 2022 12:26:15 +0100 Subject: [PATCH] tests: Fixed missing type renaming --- .idea/HexEditor.iml | 2 -- .../include/test_patterns/test_pattern_unions.hpp | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) delete mode 100644 .idea/HexEditor.iml diff --git a/.idea/HexEditor.iml b/.idea/HexEditor.iml deleted file mode 100644 index f08604bb6..000000000 --- a/.idea/HexEditor.iml +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/tests/pattern_language/include/test_patterns/test_pattern_unions.hpp b/tests/pattern_language/include/test_patterns/test_pattern_unions.hpp index fbd60ae71..63fae43e9 100644 --- a/tests/pattern_language/include/test_patterns/test_pattern_unions.hpp +++ b/tests/pattern_language/include/test_patterns/test_pattern_unions.hpp @@ -9,8 +9,8 @@ namespace hex::test { TestPatternUnions() : TestPattern("Unions") { auto testUnion = create("TestUnion", "testUnion", 0x200, sizeof(u128), nullptr); - auto array = create("s32", "array", 0x200, sizeof(s32[2]), nullptr); - array->setEntries(create("s32", "", 0x200, sizeof(s32), nullptr), 2); + auto array = create("s32", "array", 0x200, sizeof(i32[2]), nullptr); + array->setEntries(create("s32", "", 0x200, sizeof(i32), nullptr), 2); auto variable = create("u128", "variable", 0x200, sizeof(u128), nullptr); testUnion->setMembers({ array, variable });