@@ -138,8 +138,7 @@ extension RegexDSLTests {
138138 ) {
139139 let aro = Regex < AnyRegexOutput > ( re)
140140
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) )
143142
144143 // contains(captureNamed:)
145144 checkContains ( re, kind)
@@ -173,15 +172,15 @@ extension RegexDSLTests {
173172 (?x)
174173 (\p{hexdigit}{4}) -? (?<salient>\p{hexdigit}{4}) -?
175174 (\p{hexdigit}{4}) -? (\p{hexdigit}{4})
176- """# , as: ( Substring, Substring, Substring, Substring, Substring) . self) ,
175+ """# , as: ( Substring, Substring, salient : Substring, Substring, Substring) . self) ,
177176 . salient,
178177 salientOutput
179178 )
180179 check ( try ! Regex ( #"""
181180 (?x)
182181 (\p{hexdigit}{4}) -? (?<note>\p{hexdigit}{4}) -?
183182 (\p{hexdigit}{4}) -? (\p{hexdigit}{4})
184- """# , as: ( Substring, Substring, Substring, Substring, Substring) . self) ,
183+ """# , as: ( Substring, Substring, note : Substring, Substring, Substring) . self) ,
185184 . note,
186185 noteOutput
187186 )
0 commit comments