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

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

Issue 2296043002: Removed warnings from service tests (Closed)
Patch Set: Fixing line numbers Created 4 years, 4 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/evaluate_in_async_star_activation_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/tests/service/evaluate_in_sync_star_activation_test.dart
diff --git a/runtime/observatory/tests/service/evaluate_in_sync_star_activation_test.dart b/runtime/observatory/tests/service/evaluate_in_sync_star_activation_test.dart
index 5ce7463fc6f958cbc04a6cc1123fa811767b55e4..a09843b28601b996df96f9038d299bee371dba9f 100644
--- a/runtime/observatory/tests/service/evaluate_in_sync_star_activation_test.dart
+++ b/runtime/observatory/tests/service/evaluate_in_sync_star_activation_test.dart
@@ -2,7 +2,6 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-import 'dart:async';
import 'dart:developer';
import 'package:observatory/service_io.dart';
import 'package:unittest/unittest.dart';
@@ -32,7 +31,7 @@ hasStoppedAtBreakpoint,
var stack = await isolate.getStack();
var topFrame = 0;
expect(stack.type, equals('Stack'));
- expect(await stack['frames'][topFrame].location.getLine(), 16);
+ expect(await stack['frames'][topFrame].location.getLine(), 15);
var result = await isolate.evalFrame(topFrame, "x");
print(result);
@@ -48,7 +47,7 @@ hasStoppedAtBreakpoint,
var stack = await isolate.getStack();
var topFrame = 0;
expect(stack.type, equals('Stack'));
- expect(await stack['frames'][topFrame].location.getLine(), 19);
+ expect(await stack['frames'][topFrame].location.getLine(), 18);
var result = await isolate.evalFrame(topFrame, "z");
print(result);
« no previous file with comments | « runtime/observatory/tests/service/evaluate_in_async_star_activation_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698