From f8fd463880f43b5eea1de1af1497accd76a838f2 Mon Sep 17 00:00:00 2001 From: Sergio Campama Date: Sun, 29 Oct 2017 22:13:53 -0400 Subject: Update GTMStackTraceTest limits as newer Xcodes have longer stack traces --- Foundation/GTMStackTraceTest.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Foundation') 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 " -- cgit v1.2.3