Fix the iOS 13 Test case

This commit is contained in:
DreamPiggy 2019-09-22 17:20:57 +08:00
parent 918427d39b
commit 164409d30a
1 changed files with 1 additions and 5 deletions

View File

@ -153,11 +153,7 @@ static const NSUInteger kTestGIFFrameCount = 5; // local TestImage.gif loop coun
#if SD_MAC
expect(imageView.wantsUpdateLayer).beTruthy();
#else
#if TARGET_OS_MACCATALYST
// macOS's UIImageView seems does not setup layer.contents until render on screen
#else
expect(imageView.layer.contents).notTo.beNil();
#endif
expect(imageView.layer).notTo.beNil();
#endif
}