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

Unified Diff: tests/html/htmloptionscollection_test.dart

Issue 11606021: Fixing selectoptions test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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/html/html.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/htmloptionscollection_test.dart
diff --git a/tests/html/htmloptionscollection_test.dart b/tests/html/htmloptionscollection_test.dart
index ccc5da5a297dd84923271833d9a14cdc3082f335..8af54c7ebf03af6fb1dc7163e98128eac0f36547 100644
--- a/tests/html/htmloptionscollection_test.dart
+++ b/tests/html/htmloptionscollection_test.dart
@@ -32,8 +32,8 @@ main() {
expect(() { optionsCollection[0] = 1; }, throws);
// 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'));
+ expect(() {
+ optionsCollection[0] = new OptionElement('Option42', '42');
+ }, throws);
});
}
« no previous file with comments | « tests/html/html.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698