Index: net/quic/crypto/null_decrypter_test.cc |
diff --git a/net/quic/crypto/null_decrypter_test.cc b/net/quic/crypto/null_decrypter_test.cc |
index 173ecdeac6553cc1f1d9c8421c2c4fd4343df940..a24860e83f3c3da5f3c7ca4eb3871ea46768b748 100644 |
--- a/net/quic/crypto/null_decrypter_test.cc |
+++ b/net/quic/crypto/null_decrypter_test.cc |
@@ -10,18 +10,14 @@ using base::StringPiece; |
namespace net { |
namespace test { |
-class NullDecrypterTest : public ::testing::TestWithParam<bool> { |
-}; |
+class NullDecrypterTest : public ::testing::TestWithParam<bool> {}; |
TEST_F(NullDecrypterTest, Decrypt) { |
- unsigned char expected[] = { |
- // fnv hash |
- 0xa0, 0x6f, 0x44, 0x8a, |
- 0x44, 0xf8, 0x18, 0x3b, |
- 0x47, 0x91, 0xb2, 0x13, |
- // payload |
- 'g', 'o', 'o', 'd', |
- 'b', 'y', 'e', '!', |
+ unsigned char expected[] = {// fnv hash |
+ 0xa0, 0x6f, 0x44, 0x8a, 0x44, 0xf8, 0x18, 0x3b, |
+ 0x47, 0x91, 0xb2, 0x13, |
+ // payload |
+ 'g', 'o', 'o', 'd', 'b', 'y', 'e', '!', |
}; |
const char* data = reinterpret_cast<const char*>(expected); |
size_t len = arraysize(expected); |
@@ -33,14 +29,11 @@ TEST_F(NullDecrypterTest, Decrypt) { |
} |
TEST_F(NullDecrypterTest, BadHash) { |
- unsigned char expected[] = { |
- // fnv hash |
- 0x46, 0x11, 0xea, 0x5f, |
- 0xcf, 0x1d, 0x66, 0x5b, |
- 0xba, 0xf0, 0xbc, 0xfd, |
- // payload |
- 'g', 'o', 'o', 'd', |
- 'b', 'y', 'e', '!', |
+ unsigned char expected[] = {// fnv hash |
+ 0x46, 0x11, 0xea, 0x5f, 0xcf, 0x1d, 0x66, 0x5b, |
+ 0xba, 0xf0, 0xbc, 0xfd, |
+ // payload |
+ 'g', 'o', 'o', 'd', 'b', 'y', 'e', '!', |
}; |
const char* data = reinterpret_cast<const char*>(expected); |
size_t len = arraysize(expected); |
@@ -52,10 +45,8 @@ TEST_F(NullDecrypterTest, BadHash) { |
TEST_F(NullDecrypterTest, ShortInput) { |
unsigned char expected[] = { |
- // fnv hash (truncated) |
- 0x46, 0x11, 0xea, 0x5f, |
- 0xcf, 0x1d, 0x66, 0x5b, |
- 0xba, 0xf0, 0xbc, |
+ // fnv hash (truncated) |
+ 0x46, 0x11, 0xea, 0x5f, 0xcf, 0x1d, 0x66, 0x5b, 0xba, 0xf0, 0xbc, |
}; |
const char* data = reinterpret_cast<const char*>(expected); |
size_t len = arraysize(expected); |