Skip to content

Commit cdd7be1

Browse files
committed
Add missing availability annotations to tests
1 parent ee42dbd commit cdd7be1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Tests/HuggingFaceTests/OAuthTests/HuggingFaceAuthenticationManagerTests.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import Testing
55

66
#if swift(>=6.1)
77
@Suite("HuggingFace Authentication Manager Tests")
8+
@available(macOS 14.0, macCatalyst 17.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *)
89
struct HuggingFaceAuthenticationManagerTests {
910
@Test("HuggingFaceAuthenticationManager can be initialized with valid parameters")
1011
@MainActor
@@ -92,6 +93,7 @@ import Testing
9293
#endif // swift(>=6.1)
9394

9495
@Suite("Hugging Face OAuth Scope Tests", .serialized)
96+
@available(macOS 14.0, macCatalyst 17.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *)
9597
struct HuggingFaceScopeTests {
9698
typealias Scope = HuggingFaceAuthenticationManager.Scope
9799

0 commit comments

Comments
 (0)