Skip to content

Commit 75fa145

Browse files
also @available the the tests
1 parent e169545 commit 75fa145

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Tests/TextFormationTests/TextualIndenterTests.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ extension TextualContext where TextRange == NSRange {
1919
}
2020

2121
struct TextualIndenterTests {
22+
@available(macOS 13, iOS 16, tvOS 16, watchOS 9, *)
2223
@Test func emptyString() throws {
2324
let indenter = TextualIndenter<NSRange>(patterns: TextualIndenter.basicPatterns, provider: { pos in
2425
try #require(pos == 0)
@@ -29,6 +30,7 @@ struct TextualIndenterTests {
2930
#expect(throws: (any Error).self) { try indenter.computeIndentation(at: 0) }
3031
}
3132

33+
@available(macOS 13, iOS 16, tvOS 16, watchOS 9, *)
3234
@Test func propagatesPreviousLineIndentation() throws {
3335
let indenter = TextualIndenter<NSRange>(patterns: TextualIndenter.basicPatterns, provider: { pos in
3436
try #require(pos == 0)

0 commit comments

Comments
 (0)