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

Unified Diff: tests/html/element_add_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/element_add_test.dart
diff --git a/tests/html/element_add_test.dart b/tests/html/element_add_test.dart
index 2c2ea01890149b3d52fb73f1b08d71c81d1ab585..b58ad00170a87d1414bede8e32d7407e71163388 100644
--- a/tests/html/element_add_test.dart
+++ b/tests/html/element_add_test.dart
@@ -3,6 +3,7 @@
// BSD-style license that can be found in the LICENSE file
library ElementAddTest;
+
import 'package:unittest/unittest.dart';
import 'package:unittest/html_config.dart';
import 'util.dart';
@@ -15,10 +16,9 @@ main() {
var isDivElement = predicate((x) => x is DivElement, 'is a DivElement');
var isText = predicate((x) => x is Text, 'is a Text');
- void expectNoSuchMethod(void fn()) =>
- expect(fn, throwsNoSuchMethodError);
+ void expectNoSuchMethod(void fn()) => expect(fn, throwsNoSuchMethodError);
- group('append', () {
+ group('append', () {
test('htmlelement', () {
var el = new DivElement();
el.append(new SpanElement());

Powered by Google App Engine
This is Rietveld 408576698