mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 00:58:29 +00:00
[tests] Fix missing space in failure message
Change-Id: I7d02362076fc17379dc67c98b87f96866dbde7aa Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/122403 Reviewed-by: Bob Nystrom <rnystrom@google.com> Commit-Queue: Nicholas Shahan <nshahan@google.com>
This commit is contained in:
parent
a0291729f5
commit
929a306bfc
|
@ -629,7 +629,7 @@ class Expect {
|
|||
static void notType<T>(dynamic object, [String reason = ""]) {
|
||||
if (object is! T) return;
|
||||
String msg = _getMessage(reason);
|
||||
_fail("Expect.type($object is! $T$msg) fails"
|
||||
_fail("Expect.type($object is! $T$msg) fails "
|
||||
"on ${Error.safeToString(object)}");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue