Migrate callsites from 'expectNotEmpty()' to 'expectNotNil()'

This commit is contained in:
Dmitri Gribenko
2016-09-10 19:16:26 -07:00
parent 243a35cd65
commit c9041beea3
30 changed files with 134 additions and 134 deletions

View File

@@ -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))
}