diff options
Diffstat (limited to 'net/quic/crypto/crypto_utils_test.cc')
-rw-r--r-- | net/quic/crypto/crypto_utils_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/quic/crypto/crypto_utils_test.cc b/net/quic/crypto/crypto_utils_test.cc index fd9f005..882a9b5 100644 --- a/net/quic/crypto/crypto_utils_test.cc +++ b/net/quic/crypto/crypto_utils_test.cc @@ -39,7 +39,7 @@ TEST(CryptoUtilsTest, NormalizeHostname) { { "www.google.com........", "www.google.com", }, }; - for (size_t i = 0; i < ARRAYSIZE_UNSAFE(tests); ++i) { + for (size_t i = 0; i < arraysize(tests); ++i) { EXPECT_EQ(std::string(tests[i].expected), CryptoUtils::NormalizeHostname(tests[i].input)); } @@ -93,7 +93,7 @@ TEST(CryptoUtilsTest, TestExportKeyingMaterial) { }, }; - for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_vector); i++) { + for (size_t i = 0; i < arraysize(test_vector); i++) { // Decode the test vector. string subkey_secret; string label; |