Skip to content

Commit e8cc1f1

Browse files
committed
fix test case for new {{none}} check
1 parent 34d52bb commit e8cc1f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Parse/type_expr.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ func complexSequence() {
297297
// (type_expr typerepr='P1 & P2 throws -> P3 & P1')))
298298
_ = try P1 & P2 throws -> P3 & P1
299299
// expected-warning @-1 {{no calls to throwing functions occur within 'try' expression}}
300-
// expected-error @-2 {{single argument function types require parentheses}} {{none}} {{11-11=(}} {{18-18=)}}
300+
// expected-error @-2 {{single argument function types require parentheses}} {{11-11=(}} {{18-18=)}}
301301
// expected-error @-3 {{expected member name or constructor call after type name}}
302302
// expected-note @-4 {{use '.self' to reference the type object}} {{11-11=(}} {{36-36=).self}}
303303
}

0 commit comments

Comments
 (0)