Fix the unused code warning on test cases

This commit is contained in:
DreamPiggy 2019-09-20 19:07:19 +08:00
parent 7e83241c37
commit d20b25b72c
1 changed files with 0 additions and 2 deletions

View File

@ -189,8 +189,6 @@
- (void)test16ThatImageIOAnimatedCoderAbstractClass {
SDImageIOAnimatedCoder *coder = [[SDImageIOAnimatedCoder alloc] init];
NSString * testImagePath = [[NSBundle bundleForClass:[self class]] pathForResource:@"TestImage" ofType:@"png"];
NSData *testImageData = [NSData dataWithContentsOfFile:testImagePath];
@try {
[coder canEncodeToFormat:SDImageFormatPNG];
XCTFail("Should throw exception");