mirror of
https://github.com/dart-lang/sdk
synced 2024-07-19 20:17:27 +00:00
Remove emoji from null safety terminal messages. They are not rendering correctly on Windows.
Followup to https://dart-review.googlesource.com/c/sdk/+/257642 Change-Id: Id0193dea51e164f20ccb7a3087cd2995a742f348 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/259300 Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Commit-Queue: Michael Thomsen <mit@google.com>
This commit is contained in:
parent
a74d3fc01d
commit
eb2504dea3
|
@ -1074,7 +1074,7 @@ const Code<Null> codeCompilingWithSoundNullSafety =
|
|||
const MessageCode messageCompilingWithSoundNullSafety = const MessageCode(
|
||||
"CompilingWithSoundNullSafety",
|
||||
severity: Severity.info,
|
||||
problemMessage: r"""Compiling with sound null safety 💪""");
|
||||
problemMessage: r"""Compiling with sound null safety.""");
|
||||
|
||||
// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
||||
const Code<Null> codeCompilingWithoutSoundNullSafety =
|
||||
|
@ -1084,7 +1084,7 @@ const Code<Null> codeCompilingWithoutSoundNullSafety =
|
|||
const MessageCode messageCompilingWithoutSoundNullSafety = const MessageCode(
|
||||
"CompilingWithoutSoundNullSafety",
|
||||
severity: Severity.info,
|
||||
problemMessage: r"""Compiling without sound null safety ⚠️
|
||||
problemMessage: r"""Compiling without sound null safety!
|
||||
Dart 3 will only support sound null safety, see https://dart.dev/null-safety""");
|
||||
|
||||
// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
||||
|
|
|
@ -13,8 +13,7 @@ import 'package:test/test.dart';
|
|||
|
||||
import '../utils.dart';
|
||||
|
||||
const String soundNullSafetyMessage =
|
||||
'Info: Compiling with sound null safety 💪';
|
||||
const String soundNullSafetyMessage = 'Info: Compiling with sound null safety.';
|
||||
const devToolsMessagePrefix =
|
||||
'The Dart DevTools debugger and profiler is available at: http://127.0.0.1:';
|
||||
const dartVMServiceMessagePrefix =
|
||||
|
|
|
@ -34,7 +34,7 @@ void main() {
|
|||
expect(result.stderr, contains("Error when reading 'foo.dart':"));
|
||||
expect(result.stdout, isNotEmpty);
|
||||
expect(
|
||||
result.stdout, contains('Info: Compiling with sound null safety 💪\n'));
|
||||
result.stdout, contains('Info: Compiling with sound null safety.\n'));
|
||||
expect(result.exitCode, 254);
|
||||
});
|
||||
}
|
||||
|
|
|
@ -5517,14 +5517,14 @@ UnexpectedModifierInNonNnbd:
|
|||
late int x;
|
||||
|
||||
CompilingWithSoundNullSafety:
|
||||
problemMessage: "Compiling with sound null safety 💪"
|
||||
problemMessage: "Compiling with sound null safety."
|
||||
configuration: nnbd-strong,compile
|
||||
severity: INFO
|
||||
script: |
|
||||
main() {}
|
||||
|
||||
CompilingWithoutSoundNullSafety:
|
||||
problemMessage: "Compiling without sound null safety ⚠️\nDart 3 will only support sound null safety, see https://dart.dev/null-safety"
|
||||
problemMessage: "Compiling without sound null safety!\nDart 3 will only support sound null safety, see https://dart.dev/null-safety"
|
||||
configuration: nnbd-weak,compile
|
||||
severity: INFO
|
||||
script: |
|
||||
|
|
Loading…
Reference in a new issue