Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(673)

Unified Diff: test/frontend/matcher/prints_test.dart

Issue 1031063003: Fix tests that were broken in Chrome. (Closed) Base URL: git@github.com:dart-lang/unittest@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | test/frontend/matcher/throws_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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."));
});
});
« no previous file with comments | « no previous file | test/frontend/matcher/throws_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698