fix: typo spelling grammar (#88439)

This commit is contained in:
arfy slowy
2021-09-04 05:09:31 +07:00
committed by GitHub
parent e92f7cd8fe
commit 202fc02ca1
5 changed files with 5 additions and 5 deletions

View File

@@ -367,7 +367,7 @@ class CustomDevicesAddCommand extends CustomDevicesCommandBase {
static const String _kCheck = 'check';
static const String _kSsh = 'ssh';
// A hostname consists of one or more "names", seperated by a dot.
// A hostname consists of one or more "names", separated by a dot.
// A name may consist of alpha-numeric characters. Hyphens are also allowed,
// but not as the first or last character of the name.
static final RegExp _hostnameRegex = RegExp(r'^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])$');

View File

@@ -261,7 +261,7 @@ class FakeMDnsClient extends Fake implements MDnsClient {
InternetAddress mDnsAddress,
}) async {
if (osErrorOnStart) {
throw const OSError('Operation not suppoted on socket', 102);
throw const OSError('Operation not supported on socket', 102);
}
}