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

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

Issue 2759973004: Fix observatory tests broken by running dartfmt. Temporarily reverted formatting for evaluate_activ… (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/parameters_in_scope_at_entry_test.dart
diff --git a/runtime/observatory/tests/service/parameters_in_scope_at_entry_test.dart b/runtime/observatory/tests/service/parameters_in_scope_at_entry_test.dart
index 7f90eec36b764663ee6d2e0025eae95bbce902ea..184f3112f8b09019f793ef61d6f33ce8d0deab6d 100644
--- a/runtime/observatory/tests/service/parameters_in_scope_at_entry_test.dart
+++ b/runtime/observatory/tests/service/parameters_in_scope_at_entry_test.dart
@@ -10,8 +10,8 @@ import 'package:unittest/unittest.dart';
import 'service_test_common.dart';
-const int LINE_A = 29;
-const int LINE_B = 33;
+const int LINE_A = 30;
+const int LINE_B = 34;
foo(param) {
return param;
@@ -21,16 +21,17 @@ fooClosure() {
theClosureFunction(param) {
return param;
}
+
return theClosureFunction;
}
testMain() {
debugger();
- foo("in-scope"); // Line A.
+ foo("in-scope"); // Line A.
var f = fooClosure();
debugger();
- f("in-scope"); // Line B.
+ f("in-scope"); // Line B.
}
var tests = [
@@ -50,7 +51,6 @@ var tests = [
expect(param['value'].valueAsString, equals("in-scope"));
},
resumeIsolate,
-
hasStoppedAtBreakpoint,
stoppedAtLine(LINE_B),
(isolate) => isolate.stepInto(),

Powered by Google App Engine
This is Rietveld 408576698