File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -193,9 +193,9 @@ - (void)test34StaticImageNotCreateCGContext {
193
193
NSURL *staticWebPURL = [[NSBundle bundleForClass: [self class ]] URLForResource: @" TestImageStatic" withExtension: @" webp" ];
194
194
NSData *data = [NSData dataWithContentsOfURL: staticWebPURL];
195
195
SDImageWebPCoder *coder = [[SDImageWebPCoder alloc ] initWithAnimatedImageData: data options: nil ];
196
- XCTAssertTrue (coder.animatedImageFrameCount == 1 );
196
+ XCTAssertTrue (coder.animatedImageFrameCount == 0 );
197
197
UIImage *image = [coder animatedImageFrameAtIndex: 0 ];
198
- XCTAssertNotNil (image);
198
+ XCTAssertNil (image);
199
199
Ivar ivar = class_getInstanceVariable (coder.class , " _canvas" );
200
200
CGContextRef canvas = ((CGContextRef (*)(id , Ivar ))object_getIvar )(coder, ivar);
201
201
XCTAssert (canvas == NULL );
You can’t perform that action at this time.
0 commit comments