Index: util/mach/mach_extensions_test.cc |
diff --git a/util/mach/mach_extensions_test.cc b/util/mach/mach_extensions_test.cc |
index 9853944cb969875be186042a05e87dbf6badaf14..30013acb19f3ad8aab0a3df90e9a6d0b4084e37f 100644 |
--- a/util/mach/mach_extensions_test.cc |
+++ b/util/mach/mach_extensions_test.cc |
@@ -131,6 +131,12 @@ TEST(MachExtensions, ExcMaskValid) { |
EXPECT_TRUE(ExcMaskValid() & ~ExcMaskAll()); |
} |
+TEST(MachExtensions, SystemCrashReporterHandler) { |
+ base::mac::ScopedMachSendRight |
+ system_crash_reporter_handler(SystemCrashReporterHandler()); |
+ EXPECT_TRUE(system_crash_reporter_handler); |
+} |
+ |
} // namespace |
} // namespace test |
} // namespace crashpad |