From e00e86269ee323a7754a22c81cdbc5ac53d3c374 Mon Sep 17 00:00:00 2001 From: Morgan Chen Date: Thu, 9 Nov 2023 15:18:01 -0800 Subject: [PATCH] Fix perf unit tests somehow --- FirebasePerformance/Tests/Unit/FPRObjectInstrumentorTest.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FirebasePerformance/Tests/Unit/FPRObjectInstrumentorTest.m b/FirebasePerformance/Tests/Unit/FPRObjectInstrumentorTest.m index c007770d0b6..9ef5db9267a 100644 --- a/FirebasePerformance/Tests/Unit/FPRObjectInstrumentorTest.m +++ b/FirebasePerformance/Tests/Unit/FPRObjectInstrumentorTest.m @@ -48,9 +48,9 @@ - (void)testCopySelectorFromClassThatModifies { XCTAssertTrue([[object class] isSubclassOfClass:[NSObject class]]); instrumentor = nil; XCTAssertNil(weakInstrumentor); + XCTAssertNotNil([(GULSwizzledObject *)object gul_objectSwizzler]); XCTAssertNoThrow([(GULSwizzledObject *)object gul_class]); XCTAssertEqual([object class], [(GULSwizzledObject *)object gul_class]); - XCTAssertNotNil([(GULSwizzledObject *)object gul_objectSwizzler]); } /** Tests copying a selector that already exists on the object doesn't work. */