Remove dead compareIosVersions function (#146298)

Dead all the back in #10780
This commit is contained in:
Jenn Magder
2024-04-04 14:19:46 -07:00
committed by GitHub
parent 77201fdf71
commit d754a371d9
2 changed files with 0 additions and 38 deletions

View File

@@ -140,28 +140,6 @@ void main() {
});
});
group('compareIosVersions', () {
testWithoutContext('compares correctly', () {
// This list must be sorted in ascending preference order
final List<String> testList = <String>[
'8', '8.0', '8.1', '8.2',
'9', '9.0', '9.1', '9.2',
'10', '10.0', '10.1',
];
for (int i = 0; i < testList.length; i++) {
expect(compareIosVersions(testList[i], testList[i]), 0);
}
for (int i = 0; i < testList.length - 1; i++) {
for (int j = i + 1; j < testList.length; j++) {
expect(compareIosVersions(testList[i], testList[j]), lessThan(0));
expect(compareIosVersions(testList[j], testList[i]), greaterThan(0));
}
}
});
});
group('sdkMajorVersion', () {
late FakeSimControl simControl;