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

Unified Diff: runtime/observatory/tests/service/local_variable_declaration_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/local_variable_declaration_test.dart
diff --git a/runtime/observatory/tests/service/local_variable_declaration_test.dart b/runtime/observatory/tests/service/local_variable_declaration_test.dart
index 3425bab627956a3e5deb1dab4afa761f0ceabf8d..058a94844431e68afdb85805b164c1a61b5aa741 100644
--- a/runtime/observatory/tests/service/local_variable_declaration_test.dart
+++ b/runtime/observatory/tests/service/local_variable_declaration_test.dart
@@ -16,8 +16,7 @@ testParameters(int jjjj, int oooo, [int hhhh, int nnnn]) {
testMain() {
int xxx, yyyy, zzzzz;
for (int i = 0; i < 1; i++) {
- var foo = () {
- };
+ var foo = () {};
debugger();
}
var bar = () {
@@ -55,7 +54,7 @@ var tests = [
hasStoppedAtBreakpoint,
// We have stopped in the anonymous closure assigned to bar. Verify that
// variables captured in the context have valid declaration positions.
- (Isolate isolate) async {
+ (Isolate isolate) async {
var stack = await isolate.getStack();
expect(stack.type, equals('Stack'));
expect(stack['frames'].length, greaterThanOrEqualTo(1));
« no previous file with comments | « runtime/observatory/tests/service/library_dependency_test.dart ('k') | runtime/observatory/tests/service/logging_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698