Unverified Commit f7ce5ae3 authored by Ferhat's avatar Ferhat Committed by GitHub

[web] Update web runner message with flutter.dev/web (#42676)

* Update web runner message with flutter.dev/web

* Update spoopy test to use Warning instead
parent 3dc8898e
......@@ -126,11 +126,9 @@ class ResidentWebRunner extends ResidentRunner {
fire + terminal.bolden(rawMessage),
TerminalColor.red,
);
const String warning = '👻 ';
printStatus(warning * 20);
printStatus('Warning: Flutter\'s support for building web applications is highly experimental.');
printStatus('For more information see https://github.com/flutter/flutter/issues/34082.');
printStatus(warning * 20);
printStatus('Warning: Flutter\'s support for web development is not stable yet and hasn\'t');
printStatus('been thoroughly tested in production environments.');
printStatus('For more information see https://flutter.dev/web.');
printStatus('');
printStatus(message);
const String quitMessage = 'To quit, press "q".';
......
......@@ -296,11 +296,11 @@ void main() {
expect(result.message, contains('Page requires refresh'));
}));
test('printHelp without details is spoopy', () => testbed.run(() async {
test('printHelp without details has web warning', () => testbed.run(() async {
residentWebRunner.printHelp(details: false);
final BufferLogger bufferLogger = logger;
expect(bufferLogger.statusText, contains('👻'));
expect(bufferLogger.statusText, contains('Warning'));
}));
test('debugDumpApp', () => testbed.run(() async {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment