Skip to content

Commit 46813f8

Browse files
authored
Merge pull request #59818 from stephentyrone/retract-tilde-equals
Remove use of ~= in bare-slash-regex tests.
2 parents 9aa2de4 + 9afbddf commit 46813f8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/StringProcessing/Parse/forward-slash-regex.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,6 @@ _ = 0. / 1 / 2 // expected-error {{expected member name following '.'}}
253253
_ = 0 . / 1 / 2 // expected-error {{expected member name following '.'}}
254254

255255
switch "" {
256-
case /x/:
257-
break
258256
case _ where /x/:
259257
// expected-error@-1 {{cannot convert value of type 'Regex<Substring>' to expected condition type 'Bool'}}
260258
break

0 commit comments

Comments
 (0)