Skip to content

Commit 332313c

Browse files
committed
Make sure to use signIn within test
pod lib lint fails with a warning due to the unused variable
1 parent efe9574 commit 332313c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

GoogleSignIn/Tests/Unit/GIDSignInTest.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1219,6 +1219,7 @@ - (void)testFreshInstall_removesKeychainEntries {
12191219
GIDSignIn *signIn = [[GIDSignIn alloc] initWithKeychainStore:_keychainStore
12201220
authStateMigrationService:_authStateMigrationService];
12211221
// If `isFreshInstall`, keychain entries should be removed.
1222+
XCTAssertNotNil(signIn);
12221223
XCTAssertTrue(self->_keychainRemoved);
12231224
}
12241225

0 commit comments

Comments
 (0)