mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Migrate callsites from 'expectNotEmpty()' to 'expectNotNil()'
This commit is contained in:
@@ -18,7 +18,7 @@ NSStringTests.test("NSString bridges to String with custom AnyHashable")
|
||||
.forEach(in: ["", "a", "abc", "a\u{0301}", "\u{e1}"]) {
|
||||
input in
|
||||
let s = input._bridgeToObjectiveC()
|
||||
expectNotEmpty(s._toCustomAnyHashable())
|
||||
expectNotNil(s._toCustomAnyHashable())
|
||||
expectEqual(String.self, type(of: AnyHashable(s).base))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user