| Index: runtime/observatory/test/functions_test.dart
|
| diff --git a/runtime/observatory/test/functions_test.dart b/runtime/observatory/test/functions_test.dart
|
| index 678ee94b88a47522bf0d016bd2e8c7e3a1b92d68..9290a4bb6e898a5ada61f3f8c5c0d623523d2c4d 100644
|
| --- a/runtime/observatory/test/functions_test.dart
|
| +++ b/runtime/observatory/test/functions_test.dart
|
| @@ -23,10 +23,11 @@ var tests = [
|
| expect(lib.classes.length, equals(1));
|
| return lib.classes.first.load().then((Class fooClass) {
|
| expect(fooClass.name, equals('Foo'));
|
| - return fooClass.get('functions/get%3Aa').then((ServiceFunction func) {
|
| - expect(func.name, equals('a'));
|
| - expect(func.kind, equals(FunctionKind.kImplicitGetterFunction));
|
| - });
|
| + return isolate.getObject('${fooClass.id}/functions/get%3Aa')
|
| + .then((ServiceFunction func) {
|
| + expect(func.name, equals('a'));
|
| + expect(func.kind, equals(FunctionKind.kImplicitGetterFunction));
|
| + });
|
| });
|
| }),
|
|
|
|
|