Przeglądaj źródła

Re-enable EMM unit tests for SPM (#163)

Peter Andrews 3 lat temu
rodzic
commit
73b3933e4d

+ 0 - 5
GoogleSignIn/Tests/Unit/GIDEMMErrorHandlerTest.m

@@ -152,9 +152,6 @@ NS_ASSUME_NONNULL_BEGIN
   XCTAssertNil(_presentedViewController);
   XCTAssertNil(_presentedViewController);
 }
 }
 
 
-// TODO(petea): Figure out why we have a race condition for the first of these to run.
-#if !SWIFT_PACKAGE
-
 // Verifies that the handler handles general EMM error with user tapping 'OK'.
 // Verifies that the handler handles general EMM error with user tapping 'OK'.
 - (void)testGeneralEMMErrorOK {
 - (void)testGeneralEMMErrorOK {
   __block BOOL completionCalled = NO;
   __block BOOL completionCalled = NO;
@@ -521,8 +518,6 @@ NS_ASSUME_NONNULL_BEGIN
               isClassSelector:YES];
               isClassSelector:YES];
 }
 }
 
 
-#endif
-
 @end
 @end
 
 
 NS_ASSUME_NONNULL_END
 NS_ASSUME_NONNULL_END