forked from rosebudai/OpenRCT2-Web
Improve array formatting
For most of these cases, adding a trailing comma to the array block makes clang-format put each item on a new line, and clang-format exception blocks could be reduced where clang-format does not handle them properly.
This commit is contained in:
95 files changed
+4968
-3709
No files matched your search
@@ -262,7 +262,8 @@ TEST(SeaDecrypt, DecryptSea)
|
||||
auto path = TestData::GetParkPath("volcania.sea");
|
||||
auto decrypted = DecryptSea(path);
|
||||
auto sha1 = Crypt::SHA1(decrypted.data(), decrypted.size());
|
||||
std::array<uint8_t, 20> expected = { 0x1B, 0x85, 0xFC, 0xC0, 0xE8, 0x9B, 0xBE, 0x72, 0xD9, 0x1F,
|
||||
0x6E, 0xC8, 0xB1, 0xFF, 0xEC, 0x70, 0x2A, 0x72, 0x05, 0xBB };
|
||||
std::array<uint8_t, 20> expected = {
|
||||
0x1B, 0x85, 0xFC, 0xC0, 0xE8, 0x9B, 0xBE, 0x72, 0xD9, 0x1F, 0x6E, 0xC8, 0xB1, 0xFF, 0xEC, 0x70, 0x2A, 0x72, 0x05, 0xBB,
|
||||
};
|
||||
ASSERT_EQ(sha1, expected);
|
||||
}
|
||||
Reference in new issue
Block a user