aboutsummaryrefslogtreecommitdiff
path: root/src/client/mac/tests
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/mac/tests')
-rw-r--r--src/client/mac/tests/BreakpadFramework_Test.mm5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client/mac/tests/BreakpadFramework_Test.mm b/src/client/mac/tests/BreakpadFramework_Test.mm
index cd163630..2ea103c6 100644
--- a/src/client/mac/tests/BreakpadFramework_Test.mm
+++ b/src/client/mac/tests/BreakpadFramework_Test.mm
@@ -209,8 +209,9 @@ const mach_port_t kNoLastExceptionThread = MACH_PORT_NULL;
@"Last exception type is not 0 for on demand");
STAssertEquals(last_exception_code_, 0,
@"Last exception code is not 0 for on demand");
- STAssertEquals(last_exception_thread_, (mach_port_t)0,
- @"Last exception thread is not 0 for on demand");
+ STAssertEquals(last_exception_thread_, mach_thread_self(),
+ @"Last exception thread is not mach_thread_self() "
+ "for on demand");
}
@end