File tree 2 files changed +9
-2
lines changed
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,10 @@ @interface NSMethodSignatureOCMAdditionsTests : XCTestCase
30
30
31
31
@implementation NSMethodSignatureOCMAdditionsTests
32
32
33
+ #ifndef __arm64__
34
+
35
+ // Special structure return not really needed on arm64. And we should remove arm and i386 at some point...
36
+
33
37
- (void )testDeterminesThatSpecialReturnIsNotNeededForNonStruct
34
38
{
35
39
const char *types = " i" ;
@@ -98,6 +102,9 @@ - (void)testArchDependentSpecialReturns
98
102
#endif
99
103
}
100
104
105
+ #endif
106
+
107
+
101
108
- (void )testNSMethodSignatureDebugDescriptionWorksTheWayWeExpectIt
102
109
{
103
110
const char *types = " {CATransform3D=ffffffffffffffff}" ;
Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ - (void)testValueMacroCreatesCorrectValueObjects
37
37
{
38
38
NSRange range = NSMakeRange (5 , 5 );
39
39
XCTAssertEqualObjects (OCMOCK_VALUE (range), [NSValue valueWithRange: range]);
40
- #if !(TARGET_OS_IPHONE && TARGET_RT_64_BIT)
41
- /* This should work everywhere but I can't get it to work on iOS 64-bit */
40
+ #ifndef __arm64__
41
+ // This should work everywhere but I can't get it to work on arm64
42
42
XCTAssertEqualObjects (OCMOCK_VALUE ((BOOL ){YES }), @YES );
43
43
#endif
44
44
XCTAssertEqualObjects (OCMOCK_VALUE (42 ), @42 );
You can’t perform that action at this time.
0 commit comments