File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Branch-SDK-Tests/Branch-SDK-Tests Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ - (void)testRequestBody {
9696 postRequest: [OCMArg checkWithBlock: ^BOOL (id value) {
9797 if (![value isKindOfClass: [NSDictionary class ]]) {
9898 XCTFail (@" Expected NSDictionary. Got '%@ '." , NSStringFromClass ([value class ]));
99- return NO ;
99+ return YES ;
100100 }
101101 NSDictionary *dictionary = (NSDictionary *)value;
102102 XCTAssertEqualObjects (dictionary, expectedParams);
Original file line number Diff line number Diff line change 110110testSimulatorVersion " iPhone SE" " $stressOS "
111111testSimulatorVersion " iPhone 6s" 10.0
112112testSimulatorVersion " iPhone 5" 9.3
113- # xctest doesn't work for iOS 8.4 in Xcode 9.3. Bummer.
114- if [ " $( xcodebuild -version | head -n1) " != " Xcode 9.3" ]
113+ # xctest doesn't work for iOS 8.4 in Xcode 9.3 and above. Bummer.
114+ xv=$( xcodebuild -version | head -n1)
115+ if [[ " $xv " == " Xcode 9.3" ]] || [[ " $xv " == " Xcode 9.4" ]]
115116then
116117 testSimulatorVersion " iPhone 4s" 8.4
117118fi
You can’t perform that action at this time.
0 commit comments