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

Unified Diff: tests/lib_strong/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/lib_strong/html/form_element_test.dart
diff --git a/tests/lib_strong/html/form_element_test.dart b/tests/lib_strong/html/form_element_test.dart
index f1c922250755023794a99d5115a55ac8f14f6fed..4cc6807f8d0a7db7b60b72ed1d6bac1acb8bd8b2 100644
--- a/tests/lib_strong/html/form_element_test.dart
+++ b/tests/lib_strong/html/form_element_test.dart
@@ -18,11 +18,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);
});
@@ -52,7 +52,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