Index: pkg/mutation_observer/test/mutation_observer_test.dart |
diff --git a/pkg/mutation_observer/test/mutation_observer_test.dart b/pkg/mutation_observer/test/mutation_observer_test.dart |
index c4c84e3e4bb031cf079e806aa62dd80bf977b963..24dbccf2b6e7f31a5a9dea335da8e84cf6999078 100644 |
--- a/pkg/mutation_observer/test/mutation_observer_test.dart |
+++ b/pkg/mutation_observer/test/mutation_observer_test.dart |
@@ -62,7 +62,7 @@ testMutationObserver() { |
var mutationObserver = new MutationObserver( |
(mutations, observer) { expect(false, isTrue, |
reason: 'Should not be reached'); }); |
- expect(() { mutationObserver.observe(document, {}); }, |
+ expect(() { mutationObserver.observe(document); }, |
throws); |
}); |