mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
[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
This commit is contained in:
parent
3dc8898e10
commit
f7ce5ae3fc
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user