[flutter_tools] Add documentation to "cmdline-tools component is missing" doctor validation error (#83356)
This commit is contained in:
@@ -395,11 +395,13 @@ Review licenses that have not been accepted (y/N)?
|
||||
userMessages: UserMessages(),
|
||||
);
|
||||
|
||||
final String errorMessage = UserMessages().androidMissingCmdTools;
|
||||
|
||||
final ValidationResult validationResult = await androidValidator.validate();
|
||||
expect(validationResult.type, ValidationType.missing);
|
||||
expect(
|
||||
validationResult.messages.last.message,
|
||||
'cmdline-tools component is missing',
|
||||
errorMessage,
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user