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

Unified Diff: tests/language/named_parameters_aggregated_test.dart

Issue 22901025: - Fix broken test from http://dartbug.com/12634 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 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 | « tests/language/language.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/named_parameters_aggregated_test.dart
===================================================================
--- tests/language/named_parameters_aggregated_test.dart (revision 26531)
+++ tests/language/named_parameters_aggregated_test.dart (working copy)
@@ -49,7 +49,7 @@
);
// Expect compile-time error due to missing positional argument.
- NamedParametersAggregatedTests.F31(b:25, c:35); /// 05: static type warning
+ Expect.throws(() => NamedParametersAggregatedTests.F31(b:25, c:35), (e) => e is NoSuchMethodError); /// 05: static type warning
new TypeTester<Callback>();
« no previous file with comments | « tests/language/language.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698