@@ -138,8 +138,7 @@ extension RegexDSLTests {
138
138
) {
139
139
let aro = Regex < AnyRegexOutput > ( re)
140
140
141
- // FIXME: The below fatal errors
142
- let casted = aro//try! XCTUnwrap(Regex(aro, as: Output.self))
141
+ let casted = try ! XCTUnwrap ( Regex ( aro, as: Output . self) )
143
142
144
143
// contains(captureNamed:)
145
144
checkContains ( re, kind)
@@ -173,15 +172,15 @@ extension RegexDSLTests {
173
172
(?x)
174
173
(\p{hexdigit}{4}) -? (?<salient>\p{hexdigit}{4}) -?
175
174
(\p{hexdigit}{4}) -? (\p{hexdigit}{4})
176
- """# , as: ( Substring, Substring, Substring, Substring, Substring) . self) ,
175
+ """# , as: ( Substring, Substring, salient : Substring, Substring, Substring) . self) ,
177
176
. salient,
178
177
salientOutput
179
178
)
180
179
check ( try ! Regex ( #"""
181
180
(?x)
182
181
(\p{hexdigit}{4}) -? (?<note>\p{hexdigit}{4}) -?
183
182
(\p{hexdigit}{4}) -? (\p{hexdigit}{4})
184
- """# , as: ( Substring, Substring, Substring, Substring, Substring) . self) ,
183
+ """# , as: ( Substring, Substring, note : Substring, Substring, Substring) . self) ,
185
184
. note,
186
185
noteOutput
187
186
)
0 commit comments