Index: runtime/observatory/test/gc_test.dart |
diff --git a/runtime/observatory/test/gc_test.dart b/runtime/observatory/test/gc_test.dart |
index 7f2c4416154cadf3f0b50f5dd27de9f46053dcad..11ba8c54f33e110128a2afdf0304c8b7c38d08e3 100644 |
--- a/runtime/observatory/test/gc_test.dart |
+++ b/runtime/observatory/test/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 == 'GC' && --gcCountdown == 0) { |
+ if (event.eventType == ServiceEvent.kGC && --gcCountdown == 0) { |
completer.complete(); |
} |
}); |