Skip to content

Commit 77300c3

Browse files
authored
[test] update test case
1 parent f2804fc commit 77300c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/expr/cast/as_coerce.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ func testSR6022_P<T: SR6022_P>(_: T.Type) {
124124
func testSR6022_P_1<U>(_: U.Type) {
125125
_ = sr6022 as! U // Okay
126126
_ = sr6022 as? U // Okay
127-
_ = sr6022_1 as? U // Okay
127+
_ = sr6022_1 as! U // Okay
128128
_ = sr6022_1 as? U // Okay
129129
}
130130

0 commit comments

Comments
 (0)