Skip to content

Commit f2379a1

Browse files
Remove use of ~= in bare-slash-regex tests. (#59811)
1 parent 3f7d1b1 commit f2379a1

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)