Skip to content

Commit 293fc1b

Browse files
committed
fix: isolate test with if compiler(>=6.0)
1 parent f188538 commit 293fc1b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Tests/LocalAuthenticationProviderTests/LocalAuthProviderLAErrorCasesTests.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ final class LocalAuthProviderLAErrorCasesTests: XCTestCase {
165165
} catch {
166166
}
167167
}
168-
168+
#if compiler(>=6.0)
169169
@available(iOS 18.0, *)
170170
func testMapToLocalAuthenticationErrorCompanionNotAvailable() async {
171171
let context = MockLAContext(
@@ -181,6 +181,7 @@ final class LocalAuthProviderLAErrorCasesTests: XCTestCase {
181181
} catch {
182182
}
183183
}
184+
#endif
184185
#if os(macOS)
185186
func testMapToLocalAuthenticationErrorBiometryDisconnected() async {
186187
let context = MockLAContext(

0 commit comments

Comments
 (0)