diff --git a/test/StringProcessing/Parse/forward-slash-regex.swift b/test/StringProcessing/Parse/forward-slash-regex.swift index b0743bf312dce..6cf273e3ba8ce 100644 --- a/test/StringProcessing/Parse/forward-slash-regex.swift +++ b/test/StringProcessing/Parse/forward-slash-regex.swift @@ -253,8 +253,6 @@ _ = 0. / 1 / 2 // expected-error {{expected member name following '.'}} _ = 0 . / 1 / 2 // expected-error {{expected member name following '.'}} switch "" { -case /x/: - break case _ where /x/: // expected-error@-1 {{cannot convert value of type 'Regex' to expected condition type 'Bool'}} break