fixed clang warnings for nullability

Signed-off-by: michael starke <michael.starke@hicknhack-software.com>
This commit is contained in:
michael starke
2015-10-13 16:36:56 +02:00
parent 5256941e44
commit d49098d7a9
2 changed files with 5 additions and 5 deletions

View File

@@ -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");
}