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

Unified Diff: tests/html/selectelement_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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/selectelement_test.dart
diff --git a/tests/html/selectelement_test.dart b/tests/html/selectelement_test.dart
index b56912c36de8da22d6420124a5205db7be0d5059..5944f36be61f9235fc9e0af40c4b5ac77723d1bb 100644
--- a/tests/html/selectelement_test.dart
+++ b/tests/html/selectelement_test.dart
@@ -3,6 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
library selectelement_test;
+
import 'package:unittest/unittest.dart';
import 'package:unittest/html_config.dart';
import 'dart:html';
@@ -58,13 +59,12 @@ main() {
});
test('optgroup', () {
- var element = new Element.html(
- '<select>'
+ var element = new Element.html('<select>'
'<option>1</option>'
'<optgroup>'
- '<option>2</option>'
+ '<option>2</option>'
'</optgroup>'
- '</select>');
+ '</select>');
expect(element.options.length, 2);
element.selectedIndex = 1;

Powered by Google App Engine
This is Rietveld 408576698