Update links for China help (#25238)

We have a page on the Web page now.
This commit is contained in:
Ian Hickson
2018-12-21 10:12:49 -08:00
committed by GitHub
parent 273495b754
commit fb88a7bfd1
3 changed files with 10 additions and 10 deletions

View File

@@ -221,9 +221,9 @@ class Cache {
} on SocketException catch (e) {
if (_hostsBlockedInChina.contains(e.address?.host)) {
printError(
'Failed to retrieve Flutter tool depedencies: ${e.message}.\n'
"If you're in China, please follow "
'https://github.com/flutter/flutter/wiki/Using-Flutter-in-China',
'Failed to retrieve Flutter tool dependencies: ${e.message}.\n'
'If you\'re in China, please see this page: '
'https://flutter.io/community/china',
emphasis: true,
);
}

View File

@@ -98,7 +98,7 @@ void main() {
verifyNever(artifact2.update());
expect(
testLogger.errorText,
contains('https://github.com/flutter/flutter/wiki/Using-Flutter-in-China'),
contains('https://flutter.io/community/china'),
);
}
});