| 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);
|
| });
|
| }
|
|
|