Skip to content

Commit 505f8db

Browse files
committed
[test] Update test
1 parent 90d9688 commit 505f8db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Constraints/tuple.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,4 +306,4 @@ if case (foo: let x, foo: let y) = zeroTuple { print(x+y) } // expected-error {{
306306
// expected-warning@-1 {{'if' condition is always true}}
307307

308308
enum BishBash { case bar(foo: Int, foo: String) }
309-
let f: BishBash = .bar(foo: 0, foo: "") // expected-error {{cannot create a tuple with a duplicate element label}}
309+
let enumLabelDup: BishBash = .bar(foo: 0, foo: "") // expected-error {{cannot create a tuple with a duplicate element label}}

0 commit comments

Comments
 (0)