Index: net/quic/crypto/null_encrypter_test.cc |
diff --git a/net/quic/crypto/null_encrypter_test.cc b/net/quic/crypto/null_encrypter_test.cc |
index 4f4dae754a71714ac7a7160f180ac8cc66a94cf2..32fdad126c6507e826c14cbe72dff3b541e832dd 100644 |
--- a/net/quic/crypto/null_encrypter_test.cc |
+++ b/net/quic/crypto/null_encrypter_test.cc |
@@ -10,27 +10,24 @@ using base::StringPiece; |
namespace net { |
namespace test { |
-class NullEncrypterTest : public ::testing::TestWithParam<bool> { |
-}; |
+class NullEncrypterTest : public ::testing::TestWithParam<bool> {}; |
TEST_F(NullEncrypterTest, Encrypt) { |
- 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', '!', |
}; |
NullEncrypter encrypter; |
scoped_ptr<QuicData> encrypted( |
encrypter.EncryptPacket(0, "hello world!", "goodbye!")); |
ASSERT_TRUE(encrypted.get()); |
- test::CompareCharArraysWithHexError( |
- "encrypted data", encrypted->data(), encrypted->length(), |
- reinterpret_cast<const char*>(expected), |
- arraysize(expected)); |
+ test::CompareCharArraysWithHexError("encrypted data", |
+ encrypted->data(), |
+ encrypted->length(), |
+ reinterpret_cast<const char*>(expected), |
+ arraysize(expected)); |
} |
TEST_F(NullEncrypterTest, GetMaxPlaintextSize) { |