Skip to content

Commit

Permalink
Fix the test case
Browse files Browse the repository at this point in the history
  • Loading branch information
dreampiggy committed Jul 13, 2023
1 parent c7e350f commit 633996a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Tests/SDUtilsTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ - (void)testSDGraphicsImageRenderer {
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) {
Expand Down

0 comments on commit 633996a

Please sign in to comment.