From 68c52814d6979c83d90560dd175191aaacecd171 Mon Sep 17 00:00:00 2001 From: Pieter De Baets Date: Wed, 21 Oct 2015 09:30:00 -0700 Subject: [PATCH] Enable ReactKit tests on iOS9 Reviewed By: majak Differential Revision: D2565213 fb-gh-sync-id: 6a70f7e7403b396af8d10b844c5e41ea472ab9b5 --- .../UIExplorerIntegrationTests/UIExplorerIntegrationTests.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Examples/UIExplorer/UIExplorerIntegrationTests/UIExplorerIntegrationTests.m b/Examples/UIExplorer/UIExplorerIntegrationTests/UIExplorerIntegrationTests.m index 1bbd981ce..347a7b2df 100644 --- a/Examples/UIExplorer/UIExplorerIntegrationTests/UIExplorerIntegrationTests.m +++ b/Examples/UIExplorer/UIExplorerIntegrationTests/UIExplorerIntegrationTests.m @@ -36,7 +36,7 @@ #endif NSOperatingSystemVersion version = [NSProcessInfo processInfo].operatingSystemVersion; - RCTAssert(version.majorVersion == 8 || version.minorVersion >= 3, @"Tests should be run on iOS 8.3+, found %zd.%zd.%zd", version.majorVersion, version.minorVersion, version.patchVersion); + RCTAssert((version.majorVersion == 8 && version.minorVersion >= 3) || version.majorVersion >= 9, @"Tests should be run on iOS 8.3+, found %zd.%zd.%zd", version.majorVersion, version.minorVersion, version.patchVersion); _runner = RCTInitRunnerForApp(@"Examples/UIExplorer/UIExplorerIntegrationTests/js/IntegrationTestsApp", nil); }