Unverified Commit bf7a3262 authored by Jenn Magder's avatar Jenn Magder Committed by GitHub

Up CocoaPods minumum to 1.10 (#103655)

parent 09a35537
...@@ -68,7 +68,7 @@ enum CocoaPodsStatus { ...@@ -68,7 +68,7 @@ enum CocoaPodsStatus {
brokenInstall, brokenInstall,
} }
const Version cocoaPodsMinimumVersion = Version.withText(1, 9, 0, '1.9.0'); const Version cocoaPodsMinimumVersion = Version.withText(1, 10, 0, '1.10.0');
const Version cocoaPodsRecommendedVersion = Version.withText(1, 11, 0, '1.11.0'); const Version cocoaPodsRecommendedVersion = Version.withText(1, 11, 0, '1.11.0');
/// Cocoapods is a dependency management solution for iOS and macOS applications. /// Cocoapods is a dependency management solution for iOS and macOS applications.
......
...@@ -153,13 +153,13 @@ void main() { ...@@ -153,13 +153,13 @@ void main() {
testWithoutContext('detects below minimum version', () async { testWithoutContext('detects below minimum version', () async {
pretendPodIsInstalled(); pretendPodIsInstalled();
pretendPodVersionIs('1.6.0'); pretendPodVersionIs('1.9.0');
expect(await cocoaPodsUnderTest.evaluateCocoaPodsInstallation, CocoaPodsStatus.belowMinimumVersion); expect(await cocoaPodsUnderTest.evaluateCocoaPodsInstallation, CocoaPodsStatus.belowMinimumVersion);
}); });
testWithoutContext('detects below recommended version', () async { testWithoutContext('detects below recommended version', () async {
pretendPodIsInstalled(); pretendPodIsInstalled();
pretendPodVersionIs('1.9.0'); pretendPodVersionIs('1.10.5');
expect(await cocoaPodsUnderTest.evaluateCocoaPodsInstallation, CocoaPodsStatus.belowRecommendedVersion); expect(await cocoaPodsUnderTest.evaluateCocoaPodsInstallation, CocoaPodsStatus.belowRecommendedVersion);
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment