Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(817)

Unified Diff: runtime/observatory/tests/service/eval_internal_class_test.dart

Issue 2751423005: Run dartfmt on all files under runtime. (Closed)
Patch Set: Run dartfmt on all files under runtime. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/observatory/tests/service/echo_test.dart ('k') | runtime/observatory/tests/service/eval_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « runtime/observatory/tests/service/echo_test.dart ('k') | runtime/observatory/tests/service/eval_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698