mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-23 16:19:29 +00:00
fixed clang warnings for nullability
Signed-off-by: michael starke <michael.starke@hicknhack-software.com>
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
XCTAssertNotNil(imageRep, @"One image rep shoudl be there");
|
||||
XCTAssertTrue([imageRep isKindOfClass:repClass], @"Representation should be bitmap");
|
||||
NSBitmapImageRep *bitmapRep = (NSBitmapImageRep *)imageRep;
|
||||
NSData *pngData = [bitmapRep representationUsingType:NSPNGFileType properties:nil];
|
||||
NSData *pngData = [bitmapRep representationUsingType:NSPNGFileType properties:@{}];
|
||||
XCTAssertEqualObjects(pngData, _imageData, @"Image and PNG data shoudl be identical");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user