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

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

Issue 2752753002: Additional service tests (Closed)
Patch Set: Formatted some tests 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/get_source_report_test.dart
diff --git a/runtime/observatory/tests/service/get_source_report_test.dart b/runtime/observatory/tests/service/get_source_report_test.dart
index 81f21a5bbc657380db03ed627de51bada92c5b87..38a5cf97622b264cb228529579a4b1d50b6586be 100644
--- a/runtime/observatory/tests/service/get_source_report_test.dart
+++ b/runtime/observatory/tests/service/get_source_report_test.dart
@@ -63,10 +63,13 @@ hasStoppedAtBreakpoint,
var expectedRange = {
'scriptIndex': 0,
- 'startPos': 39,
- 'endPos': 88,
+ 'startPos': ifKernel(489, 39),
+ 'endPos': ifKernel(633, 88),
'compiled': true,
- 'coverage': {'hits': [54, 72, 82], 'misses': [60]}
+ 'coverage': {
+ 'hits': ifKernel([539, 590, 619], [54, 72, 82]),
+ 'misses': ifKernel([552], [60])
+ }
};
// Full script

Powered by Google App Engine
This is Rietveld 408576698