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 { ...@@ -126,11 +126,9 @@ class ResidentWebRunner extends ResidentRunner {
fire + terminal.bolden(rawMessage), fire + terminal.bolden(rawMessage),
TerminalColor.red, TerminalColor.red,
); );
const String warning = '👻 '; printStatus('Warning: Flutter\'s support for web development is not stable yet and hasn\'t');
printStatus(warning * 20); printStatus('been thoroughly tested in production environments.');
printStatus('Warning: Flutter\'s support for building web applications is highly experimental.'); printStatus('For more information see https://flutter.dev/web.');
printStatus('For more information see https://github.com/flutter/flutter/issues/34082.');
printStatus(warning * 20);
printStatus(''); printStatus('');
printStatus(message); printStatus(message);
const String quitMessage = 'To quit, press "q".'; const String quitMessage = 'To quit, press "q".';
......
...@@ -296,11 +296,11 @@ void main() { ...@@ -296,11 +296,11 @@ void main() {
expect(result.message, contains('Page requires refresh')); 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); residentWebRunner.printHelp(details: false);
final BufferLogger bufferLogger = logger; final BufferLogger bufferLogger = logger;
expect(bufferLogger.statusText, contains('👻')); expect(bufferLogger.statusText, contains('Warning'));
})); }));
test('debugDumpApp', () => testbed.run(() async { 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