| Index: base/mac/foundation_util_unittest.mm
|
| diff --git a/base/mac/foundation_util_unittest.mm b/base/mac/foundation_util_unittest.mm
|
| index c688442a6885f28dc58391783e3209220f75c9e9..69d5b1fda889eb421d25b75a3735ed436a7f8285 100644
|
| --- a/base/mac/foundation_util_unittest.mm
|
| +++ b/base/mac/foundation_util_unittest.mm
|
| @@ -281,8 +281,8 @@ TEST(FoundationUtilTest, GetValueFromDictionary) {
|
| CFStringRef keys[] = { CFSTR("one"), CFSTR("two"), CFSTR("three") };
|
| CFNumberRef values[] = { cf_one, cf_two, cf_three };
|
|
|
| - COMPILE_ASSERT(arraysize(keys) == arraysize(values),
|
| - keys_and_values_arraysizes_are_different);
|
| + static_assert(arraysize(keys) == arraysize(values),
|
| + "keys and values arrays must have the same size");
|
|
|
| ScopedCFTypeRef<CFDictionaryRef> test_dict(
|
| CFDictionaryCreate(kCFAllocatorDefault,
|
|
|