Index: chrome/browser/signin/signin_global_error_unittest.cc |
diff --git a/chrome/browser/signin/signin_global_error_unittest.cc b/chrome/browser/signin/signin_global_error_unittest.cc |
index 94e3882bb5d576780d08720647ec6a0cb1d5bb74..e34adb9723fbdd3cc824bf308781b0bf00795ec3 100644 |
--- a/chrome/browser/signin/signin_global_error_unittest.cc |
+++ b/chrome/browser/signin/signin_global_error_unittest.cc |
@@ -110,8 +110,8 @@ TEST_F(SigninGlobalErrorTest, AuthStatusEnumerateAllErrors) { |
{ GoogleServiceAuthError::SERVICE_ERROR, true }, |
{ GoogleServiceAuthError::WEB_LOGIN_REQUIRED, true }, |
}; |
- COMPILE_ASSERT(arraysize(table) == GoogleServiceAuthError::NUM_STATES, |
- kTable_size_does_not_match_number_of_auth_error_types); |
+ static_assert(arraysize(table) == GoogleServiceAuthError::NUM_STATES, |
+ "table size should match number of auth error types"); |
for (size_t i = 0; i < arraysize(table); ++i) { |
FakeAuthStatusProvider provider(error_controller_); |