File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
FirebasePerformance/Tests/Unit Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -35,8 +35,6 @@ - (void)testInitWithObject {
35
35
XCTAssertFalse (instrumentor.hasModifications );
36
36
}
37
37
38
- #ifdef TODO
39
- // On Xcode 15, this test fails
40
38
/* * Tests copying a selector that's not present on the target object. */
41
39
- (void )testCopySelectorFromClassThatModifies {
42
40
NSObject *object = [[NSObject alloc ] init ];
@@ -50,11 +48,10 @@ - (void)testCopySelectorFromClassThatModifies {
50
48
XCTAssertTrue ([[object class ] isSubclassOfClass: [NSObject class ]]);
51
49
instrumentor = nil ;
52
50
XCTAssertNil (weakInstrumentor);
51
+ XCTAssertNotNil ([(GULSwizzledObject *)object gul_objectSwizzler ]);
53
52
XCTAssertNoThrow ([(GULSwizzledObject *)object gul_class ]);
54
53
XCTAssertEqual ([object class ], [(GULSwizzledObject *)object gul_class ]);
55
- XCTAssertNotNil ([(GULSwizzledObject *)object gul_objectSwizzler ]);
56
54
}
57
- #endif
58
55
59
56
/* * Tests copying a selector that already exists on the object doesn't work. */
60
57
- (void )testCopySelectorFromClassThatDoesNotModify {
You can’t perform that action at this time.
0 commit comments