Fix the test case

This commit is contained in:
DreamPiggy 2023-07-14 00:22:14 +08:00
parent c7e350f792
commit 633996a807
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@
expect(image.scale).equal(format.scale);
UIColor *testColor = [image sd_colorAtPoint:CGPointMake(50, 50)];
NSLog(@"Test Color ColorSpace: %@", testColor.CGColor);
expect(testColor.redComponent).equal(color.sd_hexString);
expect(testColor.sd_hexString).equal(color.sd_hexString);
UIColor *grayscaleColor = UIColor.blackColor;
UIImage *grayscaleImage = [renderer imageWithActions:^(CGContextRef _Nonnull context) {