Fix the message strings for xcodeMissing and xcodeIncomplete (#117922)

* Add macOS to xcodeMissing and xcodeIncomplete

* And unit test
This commit is contained in:
Peixin Li
2023-01-03 18:48:00 -08:00
committed by GitHub
parent 63653e8272
commit 906761cf9b
2 changed files with 8 additions and 2 deletions

View File

@@ -30,4 +30,10 @@ void main() {
checkInstallationURL((Platform platform) => userMessages.androidSdkBuildToolsOutdated(0, '', platform));
checkInstallationURL((Platform platform) => userMessages.androidStudioInstallation(platform));
});
testWithoutContext('Xcode installation instructions', () {
final UserMessages userMessages = UserMessages();
expect(userMessages.xcodeMissing, contains('iOS and macOS'));
expect(userMessages.xcodeIncomplete, contains('iOS and macOS'));
});
}