| Index: runtime/lib/errors_patch.dart
|
| diff --git a/runtime/lib/errors_patch.dart b/runtime/lib/errors_patch.dart
|
| index 4690ba28a35a196f5f521784cde8a249d8b9c9ef..b9d1cca2cbeb7126ce0d114edcca52a5e37492d2 100644
|
| --- a/runtime/lib/errors_patch.dart
|
| +++ b/runtime/lib/errors_patch.dart
|
| @@ -55,8 +55,8 @@ class _AssertionError extends Error implements AssertionError {
|
|
|
| String toString() {
|
| if (_url == null) {
|
| - if (message == null) return _failedAssertion;
|
| - return "'$_failedAssertion': $_messageString";
|
| + if (message == null) return _failedAssertion?.trim();
|
| + return "'${_failedAssertion?.trim()}': $_messageString";
|
| }
|
| var columnInfo = "";
|
| if (_column > 0) {
|
|
|