Skip to content

Commit

Permalink
Gate async/await code
Browse files Browse the repository at this point in the history
  • Loading branch information
ncooke3 committed Jun 23, 2021
1 parent ac8306a commit 9edafc3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions FirebaseAppCheck/Tests/Unit/Swift/AppCheckTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class AppCheckTests: XCTestCase {
}
}

@available(iOS 15.0, *)
func asyncGetTokenUsageExample() async throws {

This comment has been minimized.

Copy link
@paulb777

paulb777 Jun 23, 2021

Member

Does this build with Xcode 12?

This comment has been minimized.

Copy link
@ncooke3

ncooke3 Jun 23, 2021

Author Member

I had added a test like this in the first few commits but noticed it wasn't wasn't building on CI so i guess not?

This comment has been minimized.

Copy link
@paulb777

paulb777 Jun 23, 2021

Member

Yeah, I ran into this in #8289 and don't know the right approach yet ....

_ = try await AppCheck.appCheck().token(forcingRefresh: true)
}
Expand Down

0 comments on commit 9edafc3

Please sign in to comment.