| Index: runtime/observatory/tests/service/get_stack_rpc_test.dart
|
| diff --git a/runtime/observatory/tests/service/get_stack_rpc_test.dart b/runtime/observatory/tests/service/get_stack_rpc_test.dart
|
| index 7efc7e76887406f51e8d147ecde28366669cba61..ff6cac382db831f445ccf98de1ea9b6ce08f9da9 100644
|
| --- a/runtime/observatory/tests/service/get_stack_rpc_test.dart
|
| +++ b/runtime/observatory/tests/service/get_stack_rpc_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 'service_test_common.dart';
|
| @@ -12,7 +13,7 @@ import 'dart:isolate' as isolate;
|
| import 'dart:developer' as developer;
|
|
|
| int counter = 0;
|
| -const stoppedAtLine = 24;
|
| +const stoppedAtLine = 25;
|
| var port = new isolate.RawReceivePort(msgHandler);
|
|
|
| // This name is used in a test below.
|
| @@ -40,7 +41,7 @@ var tests = [
|
| await script.load();
|
| await hasStoppedAtBreakpoint(isolate);
|
| // Sanity check.
|
| - expect(isolate.pauseEvent.kind, equals(ServiceEvent.kPauseBreakpoint));
|
| + expect(isolate.pauseEvent is M.PauseBreakpointEvent, isTrue);
|
| },
|
|
|
| // Get stack
|
|
|