| Index: runtime/observatory/tests/service/pause_on_start_then_step_test.dart
|
| diff --git a/runtime/observatory/tests/service/pause_on_start_then_step_test.dart b/runtime/observatory/tests/service/pause_on_start_then_step_test.dart
|
| index 9fbf6ba282844f495616d312dff28376946f1134..107d2ee8ce34dd729c912cfa873af5b3a457845b 100644
|
| --- a/runtime/observatory/tests/service/pause_on_start_then_step_test.dart
|
| +++ b/runtime/observatory/tests/service/pause_on_start_then_step_test.dart
|
| @@ -3,6 +3,7 @@
|
| // BSD-style license that can be found in the LICENSE file.
|
| // VMOptions=--error_on_bad_type --error_on_bad_override
|
|
|
| +import 'package:observatory/models.dart' as M;
|
| import 'package:observatory/service_io.dart';
|
| import 'package:unittest/unittest.dart';
|
| import 'test_helper.dart';
|
| @@ -32,7 +33,7 @@ var tests = [
|
| print('Subscribed. Pause event is ${isolate.pauseEvent}');
|
|
|
| if (isolate.pauseEvent != null &&
|
| - isolate.pauseEvent.kind == ServiceEvent.kPauseStart) {
|
| + isolate.pauseEvent is M.PauseStartEvent) {
|
| // Wait for the isolate to hit PauseStart.
|
| subscription.cancel();
|
| print('Subscription cancelled.');
|
|
|