mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 00:13:50 +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(
|
const MessageCode messageCompilingWithSoundNullSafety = const MessageCode(
|
||||||
"CompilingWithSoundNullSafety",
|
"CompilingWithSoundNullSafety",
|
||||||
severity: Severity.info,
|
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.
|
// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
||||||
const Code<Null> codeCompilingWithoutSoundNullSafety =
|
const Code<Null> codeCompilingWithoutSoundNullSafety =
|
||||||
|
@ -1084,7 +1084,7 @@ const Code<Null> codeCompilingWithoutSoundNullSafety =
|
||||||
const MessageCode messageCompilingWithoutSoundNullSafety = const MessageCode(
|
const MessageCode messageCompilingWithoutSoundNullSafety = const MessageCode(
|
||||||
"CompilingWithoutSoundNullSafety",
|
"CompilingWithoutSoundNullSafety",
|
||||||
severity: Severity.info,
|
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""");
|
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.
|
// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
||||||
|
|
|
@ -13,8 +13,7 @@ import 'package:test/test.dart';
|
||||||
|
|
||||||
import '../utils.dart';
|
import '../utils.dart';
|
||||||
|
|
||||||
const String soundNullSafetyMessage =
|
const String soundNullSafetyMessage = 'Info: Compiling with sound null safety.';
|
||||||
'Info: Compiling with sound null safety 💪';
|
|
||||||
const devToolsMessagePrefix =
|
const devToolsMessagePrefix =
|
||||||
'The Dart DevTools debugger and profiler is available at: http://127.0.0.1:';
|
'The Dart DevTools debugger and profiler is available at: http://127.0.0.1:';
|
||||||
const dartVMServiceMessagePrefix =
|
const dartVMServiceMessagePrefix =
|
||||||
|
|
|
@ -34,7 +34,7 @@ void main() {
|
||||||
expect(result.stderr, contains("Error when reading 'foo.dart':"));
|
expect(result.stderr, contains("Error when reading 'foo.dart':"));
|
||||||
expect(result.stdout, isNotEmpty);
|
expect(result.stdout, isNotEmpty);
|
||||||
expect(
|
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);
|
expect(result.exitCode, 254);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -5517,14 +5517,14 @@ UnexpectedModifierInNonNnbd:
|
||||||
late int x;
|
late int x;
|
||||||
|
|
||||||
CompilingWithSoundNullSafety:
|
CompilingWithSoundNullSafety:
|
||||||
problemMessage: "Compiling with sound null safety 💪"
|
problemMessage: "Compiling with sound null safety."
|
||||||
configuration: nnbd-strong,compile
|
configuration: nnbd-strong,compile
|
||||||
severity: INFO
|
severity: INFO
|
||||||
script: |
|
script: |
|
||||||
main() {}
|
main() {}
|
||||||
|
|
||||||
CompilingWithoutSoundNullSafety:
|
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
|
configuration: nnbd-weak,compile
|
||||||
severity: INFO
|
severity: INFO
|
||||||
script: |
|
script: |
|
||||||
|
|
Loading…
Reference in a new issue