Skip to content

Commit e169545

Browse files
Conditionalize test
1 parent 1759033 commit e169545

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Tests/TextFormationTests/TextualIndenterTests.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ import Testing
33

44
import TextFormation
55

6-
import Rearrange
7-
6+
#if compiler(>=6.1) && (os(macOS) || os(iOS) || os(tvOS) || os(visionOS))
87
extension TextualContext where TextRange == NSRange {
98
init<R: RangeExpression>(
109
preceding: R,
@@ -214,3 +213,5 @@ struct TextualIndenterTests {
214213
// XCTAssertTrue(predicate(interface, NSRange(10..<15)))
215214
// }
216215
//}
216+
217+
#endif

0 commit comments

Comments
 (0)