Index: test/frontend/matcher/prints_test.dart |
diff --git a/test/frontend/matcher/prints_test.dart b/test/frontend/matcher/prints_test.dart |
index a719ab8e8c63681bfd92a3aaeb1f11cff7b9a483..77cf4d2eff6f121f588766e6023f0de88c481130 100644 |
--- a/test/frontend/matcher/prints_test.dart |
+++ b/test/frontend/matcher/prints_test.dart |
@@ -32,7 +32,7 @@ void main() { |
expectTestFailed(liveTest, |
"Expected: prints 'Goodbye, world!\\n'\n" |
" ''\n" |
- " Actual: <Closure: () => dynamic>\n" |
+ " Actual: <$closureString>\n" |
" Which: printed 'Hello, world!\\n'\n" |
" ''\n" |
" Which: is different.\n" |
@@ -49,7 +49,7 @@ void main() { |
}).then((liveTest) { |
expectTestFailed(liveTest, |
"Expected: prints contains 'Goodbye'\n" |
- " Actual: <Closure: () => dynamic>\n" |
+ " Actual: <$closureString>\n" |
" Which: printed 'Hello, world!\\n'\n" |
" ''\n"); |
}); |
@@ -61,7 +61,7 @@ void main() { |
}).then((liveTest) { |
expectTestFailed(liveTest, |
"Expected: prints contains 'Goodbye'\n" |
- " Actual: <Closure: () => dynamic>\n" |
+ " Actual: <$closureString>\n" |
" Which: printed nothing.\n"); |
}); |
}); |
@@ -103,7 +103,7 @@ void main() { |
expectTestFailed(liveTest, startsWith( |
"Expected: prints 'Goodbye, world!\\n'\n" |
" ''\n" |
- " Actual: <Closure: () => dynamic>\n" |
+ " Actual: <$closureString>\n" |
" Which: printed 'Hello, world!\\n'\n" |
" ''\n" |
" Which: is different.\n" |
@@ -121,7 +121,7 @@ void main() { |
}).then((liveTest) { |
expectTestFailed(liveTest, startsWith( |
"Expected: prints contains 'Goodbye'\n" |
- " Actual: <Closure: () => dynamic>\n" |
+ " Actual: <$closureString>\n" |
" Which: printed 'Hello, world!\\n'\n" |
" ''")); |
}); |
@@ -133,7 +133,7 @@ void main() { |
}).then((liveTest) { |
expectTestFailed(liveTest, startsWith( |
"Expected: prints contains 'Goodbye'\n" |
- " Actual: <Closure: () => dynamic>\n" |
+ " Actual: <$closureString>\n" |
" Which: printed nothing.")); |
}); |
}); |