Index: runtime/observatory/tests/service/eval_internal_class_test.dart |
diff --git a/runtime/observatory/tests/service/eval_internal_class_test.dart b/runtime/observatory/tests/service/eval_internal_class_test.dart |
index 1b08482f2ca6bd91a2e3430bb098a22971fab432..85bd4a911450b5a4391089745f0c25c60333a4c2 100644 |
--- a/runtime/observatory/tests/service/eval_internal_class_test.dart |
+++ b/runtime/observatory/tests/service/eval_internal_class_test.dart |
@@ -7,35 +7,33 @@ import 'package:unittest/unittest.dart'; |
import 'test_helper.dart'; |
var tests = [ |
- |
-(Isolate isolate) async { |
- Library root = await isolate.rootLibrary.load(); |
- |
- Class classLibrary = await root.clazz.load(); |
- print(classLibrary); |
- var result = await classLibrary.evaluate('3 + 4'); |
- print(result); |
- expect(result is DartError, isTrue); |
- expect(result.message, contains('Cannot evaluate')); |
- |
- Class classClass = await classLibrary.clazz.load(); |
- print(classClass); |
- result = await classClass.evaluate('3 + 4'); |
- print(result); |
- expect(result is DartError, isTrue); |
- expect(result.message, contains('Cannot evaluate')); |
- |
- var someArray = await root.evaluate("new List(2)"); |
- print(someArray); |
- expect(someArray is Instance, isTrue); |
- Class classArray = await someArray.clazz.load(); |
- print(classArray); |
- result = await classArray.evaluate('3 + 4'); |
- print(result); |
- expect(result is Instance, isTrue); |
- expect(result.valueAsString, equals('7')); |
-}, |
- |
+ (Isolate isolate) async { |
+ Library root = await isolate.rootLibrary.load(); |
+ |
+ Class classLibrary = await root.clazz.load(); |
+ print(classLibrary); |
+ var result = await classLibrary.evaluate('3 + 4'); |
+ print(result); |
+ expect(result is DartError, isTrue); |
+ expect(result.message, contains('Cannot evaluate')); |
+ |
+ Class classClass = await classLibrary.clazz.load(); |
+ print(classClass); |
+ result = await classClass.evaluate('3 + 4'); |
+ print(result); |
+ expect(result is DartError, isTrue); |
+ expect(result.message, contains('Cannot evaluate')); |
+ |
+ var someArray = await root.evaluate("new List(2)"); |
+ print(someArray); |
+ expect(someArray is Instance, isTrue); |
+ Class classArray = await someArray.clazz.load(); |
+ print(classArray); |
+ result = await classArray.evaluate('3 + 4'); |
+ print(result); |
+ expect(result is Instance, isTrue); |
+ expect(result.valueAsString, equals('7')); |
+ }, |
]; |
main(args) => runIsolateTests(args, tests); |