@@ -122,6 +122,8 @@ extension UTS18Tests {
122
122
123
123
// Script and Script_Extensions
124
124
// U+3042 あ HIRAGANA LETTER A Hira {Hira}
125
+ // FIXME: Remove this once macOS CI is running 13.0
126
+ #if os(Linux)
125
127
XCTAssertTrue ( " \u{3042} " . contains ( regex ( #"\p{Hira}"# ) ) )
126
128
XCTAssertTrue ( " \u{3042} " . contains ( regex ( #"\p{sc=Hira}"# ) ) )
127
129
XCTAssertTrue ( " \u{3042} " . contains ( regex ( #"\p{scx=Hira}"# ) ) )
@@ -133,6 +135,7 @@ extension UTS18Tests {
133
135
XCTAssertTrue ( " \u{30FC} " . contains ( regex ( #"\p{scx=Kana}"# ) ) )
134
136
XCTAssertFalse ( " \u{30FC} " . contains ( regex ( #"\p{sc=Hira}"# ) ) )
135
137
XCTAssertFalse ( " \u{30FC} " . contains ( regex ( #"\p{sc=Kana}"# ) ) )
138
+ #endif
136
139
137
140
// Uppercase, etc
138
141
expectFirstMatch ( input, regex ( #"\p{Uppercase}+"# ) , input [ pos: ..< 3 ] )
@@ -144,10 +147,13 @@ extension UTS18Tests {
144
147
expectFirstMatch ( input, regex ( #"\p{whitespace}+"# ) , input [ pos: 12 ..< 13 ] )
145
148
146
149
// Block vs Writing System
150
+ // FIXME: Remove this once macOS CI is running 13.0
151
+ #if os(Linux)
147
152
let greekScalar = " Θ " // U+0398
148
153
let greekExtendedScalar = " ἀ " // U+1F00
149
154
XCTAssertTrue ( greekScalar. contains ( regex ( #"\p{Greek}"# ) ) )
150
155
XCTAssertTrue ( greekExtendedScalar. contains ( regex ( #"\p{Greek}"# ) ) )
156
+ #endif
151
157
}
152
158
153
159
func testProperties_XFail( ) {
@@ -536,8 +542,11 @@ extension UTS18Tests {
536
542
XCTAssertTrue ( " a " . contains ( regex ( #"\p{ASCII}"# ) ) )
537
543
538
544
// Script (Script_Extensions)
545
+ // FIXME: Remove this once macOS CI is running 13.0
546
+ #if os(Linux)
539
547
XCTAssertTrue ( " a " . contains ( regex ( #"\p{script=latin}"# ) ) )
540
548
XCTAssertTrue ( " 강 " . contains ( regex ( #"\p{script=hangul}"# ) ) )
549
+ #endif
541
550
542
551
// White_Space
543
552
XCTAssertTrue ( " " . contains ( regex ( #"\p{whitespace}"# ) ) )
0 commit comments