Index: test/frontend/matcher/throws_test.dart |
diff --git a/test/frontend/matcher/throws_test.dart b/test/frontend/matcher/throws_test.dart |
index b61cd7642928bdeb86bb3c54a9c926e3d0aa295a..bc5e6921dcbf9c37a1c3e0e153ab0afea2b43a64 100644 |
--- a/test/frontend/matcher/throws_test.dart |
+++ b/test/frontend/matcher/throws_test.dart |
@@ -21,7 +21,7 @@ void main() { |
}).then((liveTest) { |
expectTestFailed(liveTest, |
"Expected: throws\n" |
- " Actual: <Closure: () => dynamic>\n" |
+ " Actual: <$closureString>\n" |
" Which: did not throw\n"); |
}); |
}); |
@@ -54,7 +54,7 @@ void main() { |
}).then((liveTest) { |
expectTestFailed(liveTest, |
"Expected: throws 'oh no'\n" |
- " Actual: <Closure: () => dynamic>\n" |
+ " Actual: <$closureString>\n" |
" Which: did not throw\n"); |
}); |
}); |
@@ -76,7 +76,7 @@ void main() { |
}).then((liveTest) { |
expectTestFailed(liveTest, |
"Expected: throws 'oh no'\n" |
- " Actual: <Closure: () => dynamic>\n" |
+ " Actual: <$closureString>\n" |
" Which: threw 'aw dang'\n"); |
}); |
}); |
@@ -132,7 +132,7 @@ void main() { |
}).then((liveTest) { |
expectTestFailed(liveTest, startsWith( |
"Expected: throws 'oh no'\n" |
- " Actual: <Closure: () => dynamic>\n" |
+ " Actual: <$closureString>\n" |
" Which: threw 'aw dang'\n")); |
}); |
}); |