aboutsummaryrefslogtreecommitdiff
path: root/Foundation
diff options
context:
space:
mode:
authorGravatar Sergio Campama <sergiocampama@gmail.com>2017-10-29 22:13:53 -0400
committerGravatar Sergio Campamá <kaipi@google.com>2017-10-30 11:17:26 -0400
commitf8fd463880f43b5eea1de1af1497accd76a838f2 (patch)
tree1938fb4b68e4ea6ad178c77307c08dbef192876f /Foundation
parentdf33f8d296e61d99902570e1941ef1ef3fba0e9c (diff)
Update GTMStackTraceTest limits as newer Xcodes have longer stack traces
Diffstat (limited to 'Foundation')
-rw-r--r--Foundation/GTMStackTraceTest.m8
1 files changed, 4 insertions, 4 deletions
diff --git a/Foundation/GTMStackTraceTest.m b/Foundation/GTMStackTraceTest.m
index 7b1c038..956385b 100644
--- a/Foundation/GTMStackTraceTest.m
+++ b/Foundation/GTMStackTraceTest.m
@@ -38,8 +38,8 @@
XCTAssertGreaterThan([stacklines count], (NSUInteger)3,
@"stack trace must have > 3 lines");
- XCTAssertLessThan([stacklines count], (NSUInteger)35,
- @"stack trace must have < 35 lines");
+ XCTAssertLessThan([stacklines count], (NSUInteger)37,
+ @"stack trace must have < 37 lines");
NSString *firstFrame = [stacklines objectAtIndex:0];
NSRange range = [firstFrame rangeOfString:@"testStackTraceBasic"];
@@ -103,8 +103,8 @@
XCTAssertGreaterThan([stacklines count], (NSUInteger)4,
@"stack trace must have > 4 lines\n%@", stacktrace);
- XCTAssertLessThan([stacklines count], (NSUInteger)40,
- @"stack trace must have < 40 lines\n%@", stacktrace);
+ XCTAssertLessThan([stacklines count], (NSUInteger)41,
+ @"stack trace must have < 41 lines\n%@", stacktrace);
XCTAssertEqual([stacklines count],
[[exception callStackReturnAddresses] count],
@"stack trace should have the same number of lines as the "