Index: runtime/observatory/tests/service/gc_test.dart |
diff --git a/runtime/observatory/tests/service/gc_test.dart b/runtime/observatory/tests/service/gc_test.dart |
index e5adaedf7a262f9854a1b610a5c8bc57b9ca6226..9d93b0a2295eaec6d359cf8da531928df38dc506 100644 |
--- a/runtime/observatory/tests/service/gc_test.dart |
+++ b/runtime/observatory/tests/service/gc_test.dart |
@@ -27,7 +27,7 @@ var tests = [ |
// Expect at least this many GC events. |
int gcCountdown = 3; |
isolate.vm.events.stream.listen((ServiceEvent event) { |
- if (event.eventType == ServiceEvent.kGC) { |
+ if (event.kind == ServiceEvent.kGC) { |
print('Received GC event'); |
if (--gcCountdown == 0) { |
completer.complete(); |