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

Unified Diff: tests/html/event_test.dart

Issue 218273002: Upgrading tests with unittest deprecations (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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/event_test.dart
diff --git a/tests/html/event_test.dart b/tests/html/event_test.dart
index 6f135badbd4f4478eec694475fffeb5e3799bcca..e8f743bed0a25630f6ec7f750ca2c6732d29309d 100644
--- a/tests/html/event_test.dart
+++ b/tests/html/event_test.dart
@@ -143,7 +143,7 @@ main() {
test('DOMMutationEvent', () {
var div = new DivElement();
- div.on['DOMSubtreeModified'].add(expectAsync1((DOMMutationEvent e) {}));
+ div.on['DOMSubtreeModified'].add(expectAsync((DOMMutationEvent e) {}));
div.append(new SpanElement());
});

Powered by Google App Engine
This is Rietveld 408576698