Fixed tests

Reviewed By: bestander

Differential Revision: D3334669

fbshipit-source-id: ba0ae2ec5ea06c27d40ceed3ca8bf7a9da27dda9
This commit is contained in:
Nick Lockwood 2016-05-23 08:27:14 -07:00 committed by Facebook Github Bot 1
parent 4c76e5476c
commit c87b737ca1
2 changed files with 4 additions and 2 deletions

View File

@ -107,7 +107,7 @@ RCTDefineImageDecoder(RCTImageLoaderTestsDecoder2)
XCTAssertEqualObjects(decodedImage, image);
XCTAssertNil(decodeError);
}];
XCTAssertNil(cancelBlock);
XCTAssertNotNil(cancelBlock);
}
- (void)testImageLoaderUsesImageDecoderWithHighestPriority
@ -136,7 +136,7 @@ RCTDefineImageDecoder(RCTImageLoaderTestsDecoder2)
XCTAssertEqualObjects(decodedImage, image);
XCTAssertNil(decodeError);
}];
XCTAssertNil(cancelBlock);
XCTAssertNotNil(cancelBlock);
}
@end

View File

@ -859,6 +859,7 @@
83CBBA401A601D0F00E9B192 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_CXX_LANGUAGE_STANDARD = "c++14";
CLANG_STATIC_ANALYZER_MODE = deep;
GCC_PREPROCESSOR_DEFINITIONS = "$(inherited)";
GCC_WARN_ABOUT_MISSING_NEWLINE = YES;
@ -876,6 +877,7 @@
83CBBA411A601D0F00E9B192 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_CXX_LANGUAGE_STANDARD = "c++14";
CLANG_STATIC_ANALYZER_MODE = deep;
GCC_PREPROCESSOR_DEFINITIONS = "$(inherited)";
GCC_WARN_ABOUT_MISSING_NEWLINE = YES;