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

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

Issue 2767533002: Revert "Fix observatory tests broken by running dartfmt." (Closed)
Patch Set: 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
Index: runtime/observatory/tests/service/evaluate_in_frame_rpc_test.dart
diff --git a/runtime/observatory/tests/service/evaluate_in_frame_rpc_test.dart b/runtime/observatory/tests/service/evaluate_in_frame_rpc_test.dart
index cebc15b2a726a61a59f1fd02a1f110219f9779ee..2c73fe69c862e1da61abe04f78b2433e0c128c7f 100644
--- a/runtime/observatory/tests/service/evaluate_in_frame_rpc_test.dart
+++ b/runtime/observatory/tests/service/evaluate_in_frame_rpc_test.dart
@@ -23,23 +23,25 @@ void testFunction() {
}
var tests = [
- hasStoppedAtBreakpoint,
+
+hasStoppedAtBreakpoint,
// Evaluate against library, class, and instance.
- (Isolate isolate) async {
- var result;
- result = await isolate.evalFrame(0, 'value');
- expect(result.valueAsString, equals('10000'));
+(Isolate isolate) async {
+ var result;
+ result = await isolate.evalFrame(0, 'value');
+ expect(result.valueAsString, equals('10000'));
+
+ result = await isolate.evalFrame(0, '_');
+ expect(result.valueAsString, equals('50'));
- result = await isolate.evalFrame(0, '_');
- expect(result.valueAsString, equals('50'));
+ result = await isolate.evalFrame(0, 'value + _');
+ expect(result.valueAsString, equals('10050'));
- result = await isolate.evalFrame(0, 'value + _');
- expect(result.valueAsString, equals('10050'));
+ result = await isolate.evalFrame(1, 'i');
+ expect(result.valueAsString, equals('100000000'));
+},
- result = await isolate.evalFrame(1, 'i');
- expect(result.valueAsString, equals('100000000'));
- },
];
main(args) => runIsolateTests(args, tests, testeeConcurrent: testFunction);

Powered by Google App Engine
This is Rietveld 408576698