Skip to content

Commit 9afbddf

Browse files
committed
Remove use of ~= in bare-slash-regex tests.
1 parent db08503 commit 9afbddf

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)