@@ -122,6 +122,8 @@ extension UTS18Tests {
122122
123123 // Script and Script_Extensions
124124 // U+3042 あ HIRAGANA LETTER A Hira {Hira}
125+ // FIXME: Remove this once macOS CI is running 13.0
126+ #if os(Linux)
125127 XCTAssertTrue ( " \u{3042} " . contains ( regex ( #"\p{Hira}"# ) ) )
126128 XCTAssertTrue ( " \u{3042} " . contains ( regex ( #"\p{sc=Hira}"# ) ) )
127129 XCTAssertTrue ( " \u{3042} " . contains ( regex ( #"\p{scx=Hira}"# ) ) )
@@ -133,6 +135,7 @@ extension UTS18Tests {
133135 XCTAssertTrue ( " \u{30FC} " . contains ( regex ( #"\p{scx=Kana}"# ) ) )
134136 XCTAssertFalse ( " \u{30FC} " . contains ( regex ( #"\p{sc=Hira}"# ) ) )
135137 XCTAssertFalse ( " \u{30FC} " . contains ( regex ( #"\p{sc=Kana}"# ) ) )
138+ #endif
136139
137140 // Uppercase, etc
138141 expectFirstMatch ( input, regex ( #"\p{Uppercase}+"# ) , input [ pos: ..< 3 ] )
@@ -144,10 +147,13 @@ extension UTS18Tests {
144147 expectFirstMatch ( input, regex ( #"\p{whitespace}+"# ) , input [ pos: 12 ..< 13 ] )
145148
146149 // Block vs Writing System
150+ // FIXME: Remove this once macOS CI is running 13.0
151+ #if os(Linux)
147152 let greekScalar = " Θ " // U+0398
148153 let greekExtendedScalar = " ἀ " // U+1F00
149154 XCTAssertTrue ( greekScalar. contains ( regex ( #"\p{Greek}"# ) ) )
150155 XCTAssertTrue ( greekExtendedScalar. contains ( regex ( #"\p{Greek}"# ) ) )
156+ #endif
151157 }
152158
153159 func testProperties_XFail( ) {
@@ -536,8 +542,11 @@ extension UTS18Tests {
536542 XCTAssertTrue ( " a " . contains ( regex ( #"\p{ASCII}"# ) ) )
537543
538544 // Script (Script_Extensions)
545+ // FIXME: Remove this once macOS CI is running 13.0
546+ #if os(Linux)
539547 XCTAssertTrue ( " a " . contains ( regex ( #"\p{script=latin}"# ) ) )
540548 XCTAssertTrue ( " 강 " . contains ( regex ( #"\p{script=hangul}"# ) ) )
549+ #endif
541550
542551 // White_Space
543552 XCTAssertTrue ( " " . contains ( regex ( #"\p{whitespace}"# ) ) )
0 commit comments