Index: tests/html/url_test.dart |
diff --git a/tests/html/url_test.dart b/tests/html/url_test.dart |
index 69f55ad1c4fc8e882a9ca261d459a197a27d4317..aa61fe541f3dc681261032690882786d7303690b 100644 |
--- a/tests/html/url_test.dart |
+++ b/tests/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; |
}); |
- |
}); |
} |