Index: test/isolate_test.dart |
diff --git a/test/isolate_test.dart b/test/isolate_test.dart |
index dbd0bc0f5c5d4dda2d3c797921945ac606831266..8c354bb4bebf5c0932cd97ff7527bea3db9a9ed5 100644 |
--- a/test/isolate_test.dart |
+++ b/test/isolate_test.dart |
@@ -167,7 +167,7 @@ void main() { |
}); |
}); |
- test("onServiceExtensionAdded fires when an extension is added", () async { |
+ test("onExtensionAdded fires when an extension is added", () async { |
client = await runAndConnect(main: """ |
registerExtension('ext.test', (_, __) {}); |
""", flags: ["--pause-isolates-on-start"]); |
@@ -176,7 +176,7 @@ void main() { |
await isolate.waitUntilPaused(); |
await isolate.resume(); |
- expect(await isolate.onServiceExtensionAdded.first, equals('ext.test')); |
+ expect(await isolate.onExtensionAdded.first, equals('ext.test')); |
}); |
group("onExtensionEvent", () { |