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

Unified Diff: tests/language/parameter_initializer_test.dart

Issue 10918261: Update language tests to new optional parameter syntax and semantics. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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
Index: tests/language/parameter_initializer_test.dart
===================================================================
--- tests/language/parameter_initializer_test.dart (revision 12414)
+++ tests/language/parameter_initializer_test.dart (working copy)
@@ -14,7 +14,7 @@
obj = new Foo.subtype(7);
Expect.equals(7, obj.x);
- obj = new Foo.optional(x: 111);
+ obj = new Foo.optional(111);
Expect.equals(111, obj.x);
obj = new Foo.optional();

Powered by Google App Engine
This is Rietveld 408576698