Skip to content

Commit 929a306

Browse files
nshahancommit-bot@chromium.org
authored andcommitted
[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>
1 parent a029172 commit 929a306

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/expect/lib/expect.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ class Expect {
629629
static void notType<T>(dynamic object, [String reason = ""]) {
630630
if (object is! T) return;
631631
String msg = _getMessage(reason);
632-
_fail("Expect.type($object is! $T$msg) fails"
632+
_fail("Expect.type($object is! $T$msg) fails "
633633
"on ${Error.safeToString(object)}");
634634
}
635635

0 commit comments

Comments
 (0)