This repository was archived by the owner on Feb 22, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -176,10 +176,10 @@ class UserMessages {
176
176
'Launch Xcode and install additional required components when prompted or run:\n '
177
177
' sudo xcodebuild -runFirstLaunch' ;
178
178
String get xcodeMissing =>
179
- 'Xcode not installed; this is necessary for iOS development.\n '
179
+ 'Xcode not installed; this is necessary for iOS and macOS development.\n '
180
180
'Download at https://developer.apple.com/xcode/download/.' ;
181
181
String get xcodeIncomplete =>
182
- 'Xcode installation is incomplete; a full installation is necessary for iOS development.\n '
182
+ 'Xcode installation is incomplete; a full installation is necessary for iOS and macOS development.\n '
183
183
'Download at: https://developer.apple.com/xcode/download/\n '
184
184
'Or install Xcode via the App Store.\n '
185
185
'Once installed, run:\n '
Original file line number Diff line number Diff line change @@ -30,4 +30,10 @@ void main() {
30
30
checkInstallationURL ((Platform platform) => userMessages.androidSdkBuildToolsOutdated (0 , '' , platform));
31
31
checkInstallationURL ((Platform platform) => userMessages.androidStudioInstallation (platform));
32
32
});
33
+
34
+ testWithoutContext ('Xcode installation instructions' , () {
35
+ final UserMessages userMessages = UserMessages ();
36
+ expect (userMessages.xcodeMissing, contains ('iOS and macOS' ));
37
+ expect (userMessages.xcodeIncomplete, contains ('iOS and macOS' ));
38
+ });
33
39
}
You can’t perform that action at this time.
0 commit comments