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

Unified Diff: tests/html/form_element_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/form_element_test.dart
diff --git a/tests/html/form_element_test.dart b/tests/html/form_element_test.dart
index b3b06c34d07ce3fefb49ef8d91c8014f2c64e538..97bb3792e08bf48295e9c7639287080ed4f946e3 100644
--- a/tests/html/form_element_test.dart
+++ b/tests/html/form_element_test.dart
@@ -22,11 +22,11 @@ void main() {
test('checkValidityTest', () {
var form = new FormElement();
form.innerHtml = '<label>Google: <input type="search" name="q"></label> '
- '<input type="submit" value="Search...">';
+ '<input type="submit" value="Search...">';
expect(form.checkValidity(), isTrue);
// TODO(efortuna): Issue 4832.
form.innerHtml = '<input type="email" value="notemail" blaber="test"'
- ' required>';
+ ' required>';
expect(form.checkValidity(), isFalse);
});
@@ -56,7 +56,7 @@ void main() {
test('lengthTest', () {
expect(form.length, 0);
form.innerHtml = '<label>Google: <input type="search" name="q"></label> '
- '<input type="submit" value="Search...">';
+ '<input type="submit" value="Search...">';
expect(form.length, 2);
});

Powered by Google App Engine
This is Rietveld 408576698