Skip to content

Commit b34c18c

Browse files
committed
Correction for playground tests and NSAttributedString naming updates
1 parent 162648d commit b34c18c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/1_stdlib/Reflection_objc.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ switch PlaygroundQuickLook(reflecting: somesubclassofnsstring) {
9595
// CHECK-NEXT: got the expected quick look attributed string
9696
let astr = NSAttributedString(string: "yizzle pizzle")
9797
switch PlaygroundQuickLook(reflecting: astr) {
98-
case .attributedString(let astr2)
98+
case .attributedString(let astr2 as NSAttributedString)
9999
where astr == astr2:
100100
print("got the expected quick look attributed string")
101101
case _:

0 commit comments

Comments
 (0)