Index: util/mach/exc_server_variants_test.cc |
diff --git a/util/mach/exc_server_variants_test.cc b/util/mach/exc_server_variants_test.cc |
index 9f4963a39433663e5677e748175f6403e73cd91d..ad963d6c2dbf9a302ec433399bfef418d75a92fe 100644 |
--- a/util/mach/exc_server_variants_test.cc |
+++ b/util/mach/exc_server_variants_test.cc |
@@ -1114,7 +1114,7 @@ TEST(ExcServerVariants, ExcCrashRecoverOriginalException) { |
// Now make sure that ExcCrashRecoverOriginalException() properly ignores |
// optional arguments. |
- COMPILE_ASSERT(arraysize(kTestData) >= 1, must_have_something_to_test); |
+ static assert(arraysize(kTestData) >= 1, "must have something to test"); |
Mark Mentovai
2014/10/01 03:55:12
Missing underscore: static_assert. Same as in uuid
scottmg
2014/10/01 16:37:19
Done.
|
const TestData& test_data = kTestData[0]; |
EXPECT_EQ(test_data.exception, |
ExcCrashRecoverOriginalException(test_data.code_0, NULL, NULL)); |