Skip to content

Commit 4a90f72

Browse files
committed
fixing unit tests
1 parent 97b51d2 commit 4a90f72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Constraints/casts.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,7 @@ do {
746746
do {
747747
func x(a: Any) {
748748
_ = a is a // expected-error {{type-casting operator expects a type on its right-hand side (got: 'a')}}
749-
_ = a as T // expected-error {{type-casting operator expects a type on its right-hand side (got: 'T')}}
749+
_ = a as a // expected-error {{type-casting operator expects a type on its right-hand side (got: 'a')}}
750750
_ = a is String // OK
751751
}
752752
}

0 commit comments

Comments
 (0)