Index: tests/compiler/dart2js/patch_test.dart |
diff --git a/tests/compiler/dart2js/patch_test.dart b/tests/compiler/dart2js/patch_test.dart |
index 00ef722ea7f3c1bedfc482859abfc2a92bc8a7af..2130f06164db9966cba3e80f642b408dacc03bec 100644 |
--- a/tests/compiler/dart2js/patch_test.dart |
+++ b/tests/compiler/dart2js/patch_test.dart |
@@ -206,7 +206,7 @@ Future testPatchVersioned() async { |
} |
compiler.analyzeElement(origin); |
- compiler.enqueuer.resolution.emptyDeferredTaskQueue(); |
+ compiler.enqueuer.resolution.emptyDeferredQueueForTesting(); |
DiagnosticCollector collector = compiler.diagnosticCollector; |
Expect.isTrue(collector.warnings.isEmpty, |