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

Unified Diff: tests/lib_strong/html/url_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/url_test.dart
diff --git a/tests/lib_strong/html/url_test.dart b/tests/lib_strong/html/url_test.dart
index 69f55ad1c4fc8e882a9ca261d459a197a27d4317..aa61fe541f3dc681261032690882786d7303690b 100644
--- a/tests/lib_strong/html/url_test.dart
+++ b/tests/lib_strong/html/url_test.dart
@@ -3,6 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
library url_test;
+
import 'package:unittest/unittest.dart';
import 'package:unittest/html_config.dart';
import 'dart:html';
@@ -59,13 +60,11 @@ main() {
var img = new ImageElement();
// Image should fail to load since the URL was revoked.
- img.onError.listen(expectAsync((_) {
- }));
+ img.onError.listen(expectAsync((_) {}));
img.onLoad.listen((_) {
fail('URL should not have loaded.');
});
img.src = url;
});
-
});
}

Powered by Google App Engine
This is Rietveld 408576698