| Index: runtime/observatory/tests/service/dev_fs_spawn_test.dart
|
| diff --git a/runtime/observatory/tests/service/dev_fs_spawn_test.dart b/runtime/observatory/tests/service/dev_fs_spawn_test.dart
|
| index 6537d54ee55b65aa7eadf1b9fd6f0e90f3ed028a..ae8f48294bb2ecd30f181b13b78d19684bafba31 100644
|
| --- a/runtime/observatory/tests/service/dev_fs_spawn_test.dart
|
| +++ b/runtime/observatory/tests/service/dev_fs_spawn_test.dart
|
| @@ -5,6 +5,7 @@
|
|
|
| import 'dart:async';
|
| import 'dart:convert';
|
| +import 'package:observatory/models.dart' as M;
|
| import 'package:observatory/service_io.dart';
|
| import 'package:unittest/unittest.dart';
|
| import 'service_test_common.dart';
|
| @@ -142,7 +143,7 @@ main(args, msg) {
|
| // Make sure that we are running code from the spawned isolate.
|
| result = await spawnedIsolate.rootLibrary.evaluate('proofOfLife()');
|
| expect(result.type, equals('Instance'));
|
| - expect(result.kind, equals('String'));
|
| + expect(result.kind, equals(M.InstanceKind.string));
|
| expect(result.valueAsString, equals('I live!'));
|
|
|
| // Spawn the script with arguments.
|
| @@ -173,7 +174,7 @@ main(args, msg) {
|
| // Make sure that we are running code from the spawned isolate.
|
| result = await spawnedIsolate.rootLibrary.evaluate('proofOfLife()');
|
| expect(result.type, equals('Instance'));
|
| - expect(result.kind, equals('String'));
|
| + expect(result.kind, equals(M.InstanceKind.string));
|
| expect(result.valueAsString, equals('I live, [one, two, three]!'));
|
|
|
| // Spawn the script with arguments and message
|
| @@ -205,7 +206,7 @@ main(args, msg) {
|
| // Make sure that we are running code from the spawned isolate.
|
| result = await spawnedIsolate.rootLibrary.evaluate('proofOfLife()');
|
| expect(result.type, equals('Instance'));
|
| - expect(result.kind, equals('String'));
|
| + expect(result.kind, equals(M.InstanceKind.string));
|
| expect(result.valueAsString, equals('I live, [A, B, C], test!'));
|
|
|
| // Delete the fs.
|
|
|