Skip to content

Commit 206ef51

Browse files
committed
ignore deprec
1 parent a323592 commit 206ef51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/stdlib/Foundation_NewGenericAPIs.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func test_NSCoder_decodeTopLevelObjectOfClasses_forKey_error(
4141

4242

4343
func test_NSKeyedUnarchiver_unarchiveObjectWithData(_ data: NSData) {
44-
var r = NSKeyedUnarchiver.unarchiveObject(with: data as Data)
44+
var r = NSKeyedUnarchiver.unarchiveObject(with: data as Data) // expected-warning * {{'unarchiveObject(with:)' was deprecated}}
4545
expectType(Optional<Any>.self, &r)
4646
}
4747

0 commit comments

Comments
 (0)