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 {
3535 XCTAssertFalse (instrumentor.hasModifications );
3636}
3737
38- #ifdef TODO
39- // On Xcode 15, this test fails
4038/* * Tests copying a selector that's not present on the target object. */
4139- (void )testCopySelectorFromClassThatModifies {
4240 NSObject *object = [[NSObject alloc ] init ];
@@ -50,11 +48,10 @@ - (void)testCopySelectorFromClassThatModifies {
5048 XCTAssertTrue ([[object class ] isSubclassOfClass: [NSObject class ]]);
5149 instrumentor = nil ;
5250 XCTAssertNil (weakInstrumentor);
51+ XCTAssertNotNil ([(GULSwizzledObject *)object gul_objectSwizzler ]);
5352 XCTAssertNoThrow ([(GULSwizzledObject *)object gul_class ]);
5453 XCTAssertEqual ([object class ], [(GULSwizzledObject *)object gul_class ]);
55- XCTAssertNotNil ([(GULSwizzledObject *)object gul_objectSwizzler ]);
5654}
57- #endif
5855
5956/* * Tests copying a selector that already exists on the object doesn't work. */
6057- (void )testCopySelectorFromClassThatDoesNotModify {
You can’t perform that action at this time.
0 commit comments