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 {
193193 NSURL *staticWebPURL = [[NSBundle bundleForClass: [self class ]] URLForResource: @" TestImageStatic" withExtension: @" webp" ];
194194 NSData *data = [NSData dataWithContentsOfURL: staticWebPURL];
195195 SDImageWebPCoder *coder = [[SDImageWebPCoder alloc ] initWithAnimatedImageData: data options: nil ];
196- XCTAssertTrue (coder.animatedImageFrameCount == 1 );
196+ XCTAssertTrue (coder.animatedImageFrameCount == 0 );
197197 UIImage *image = [coder animatedImageFrameAtIndex: 0 ];
198- XCTAssertNotNil (image);
198+ XCTAssertNil (image);
199199 Ivar ivar = class_getInstanceVariable (coder.class , " _canvas" );
200200 CGContextRef canvas = ((CGContextRef (*)(id , Ivar ))object_getIvar )(coder, ivar);
201201 XCTAssert (canvas == NULL );
You can’t perform that action at this time.
0 commit comments