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

Unified Diff: tests/html/htmloptionscollection_test.dart

Issue 11184007: Support new named arguments. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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/html/htmloptionscollection_test.dart
diff --git a/tests/html/htmloptionscollection_test.dart b/tests/html/htmloptionscollection_test.dart
index d97a59454a2aa9c420d1bd2ccfe99c7e3d341c8d..7f0657eb68c0ee118899c6f1d7561e9c2602dd6f 100644
--- a/tests/html/htmloptionscollection_test.dart
+++ b/tests/html/htmloptionscollection_test.dart
@@ -31,7 +31,8 @@ main() {
expect(() { optionsCollection[0] = 1; }, throws);
- optionsCollection[0] = new OptionElement(value: '42', data: 'Option42');
+ // OPTIONALS optionsCollection[0] = new OptionElement(value: '42', data: 'Option42');
+ optionsCollection[0] = new OptionElement('Option42', '42');
expect(optionsCollection[0].value, equals('42'));
expect(optionsCollection[0].text, equals('Option42'));
});

Powered by Google App Engine
This is Rietveld 408576698