diff options
author | Sergio Campama <sergiocampama@gmail.com> | 2017-10-29 22:13:53 -0400 |
---|---|---|
committer | Sergio Campamá <kaipi@google.com> | 2017-10-30 11:17:26 -0400 |
commit | f8fd463880f43b5eea1de1af1497accd76a838f2 (patch) | |
tree | 1938fb4b68e4ea6ad178c77307c08dbef192876f | |
parent | df33f8d296e61d99902570e1941ef1ef3fba0e9c (diff) |
Update GTMStackTraceTest limits as newer Xcodes have longer stack traces
-rw-r--r-- | Foundation/GTMStackTraceTest.m | 8 |
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 " |