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

Unified Diff: tests/lib_strong/html/unknownelement_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/unknownelement_test.dart
diff --git a/tests/lib_strong/html/unknownelement_test.dart b/tests/lib_strong/html/unknownelement_test.dart
index 43b30cf7ecef149a4392b50e7c8d9e729265b6a8..fa88fd8ba063a87ae7728a91b9fc4cbe0d6d6854 100644
--- a/tests/lib_strong/html/unknownelement_test.dart
+++ b/tests/lib_strong/html/unknownelement_test.dart
@@ -17,15 +17,17 @@ main() {
document.body.nodes.addAll(<Node>[foo, bar]);
test('type-check', () {
- expect(foo, isUnknownElement);
- expect(bar, isUnknownElement);
- expect(query('#foo'), equals(foo));
- expect(query('#bar'), equals(bar));
- });
+ expect(foo, isUnknownElement);
+ expect(bar, isUnknownElement);
+ expect(query('#foo'), equals(foo));
+ expect(query('#bar'), equals(bar));
+ });
test('dispatch-fail', () {
- expect(() => foo.method1(), throwsNoSuchMethodError);
- expect(() => foo.field1, throwsNoSuchMethodError);
- expect(() { foo.field1 = 42; }, throwsNoSuchMethodError);
- });
+ expect(() => foo.method1(), throwsNoSuchMethodError);
+ expect(() => foo.field1, throwsNoSuchMethodError);
+ expect(() {
+ foo.field1 = 42;
+ }, throwsNoSuchMethodError);
+ });
}

Powered by Google App Engine
This is Rietveld 408576698