Up CocoaPods minumum to 1.10 (#103655)
This commit is contained in:
parent
09a35537db
commit
bf7a32628e
@ -68,7 +68,7 @@ enum CocoaPodsStatus {
|
||||
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');
|
||||
|
||||
/// Cocoapods is a dependency management solution for iOS and macOS applications.
|
||||
|
@ -153,13 +153,13 @@ void main() {
|
||||
|
||||
testWithoutContext('detects below minimum version', () async {
|
||||
pretendPodIsInstalled();
|
||||
pretendPodVersionIs('1.6.0');
|
||||
pretendPodVersionIs('1.9.0');
|
||||
expect(await cocoaPodsUnderTest.evaluateCocoaPodsInstallation, CocoaPodsStatus.belowMinimumVersion);
|
||||
});
|
||||
|
||||
testWithoutContext('detects below recommended version', () async {
|
||||
pretendPodIsInstalled();
|
||||
pretendPodVersionIs('1.9.0');
|
||||
pretendPodVersionIs('1.10.5');
|
||||
expect(await cocoaPodsUnderTest.evaluateCocoaPodsInstallation, CocoaPodsStatus.belowRecommendedVersion);
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user