Index: tests/compiler/dart2js/sourcemaps/sourcemap_helper.dart |
diff --git a/tests/compiler/dart2js/sourcemaps/sourcemap_helper.dart b/tests/compiler/dart2js/sourcemaps/sourcemap_helper.dart |
index 244b6c9bd3ff46c4661727f90ed091fb71bb85e8..a0849efe778bba003cddb99260645ca610f339b2 100644 |
--- a/tests/compiler/dart2js/sourcemaps/sourcemap_helper.dart |
+++ b/tests/compiler/dart2js/sourcemaps/sourcemap_helper.dart |
@@ -503,8 +503,8 @@ class CodePointComputer extends TraceListener { |
return sourceLocation.shortText; |
} |
return sourceFile.kernelSource |
- .getTextLine(sourceLocation.line + 1) |
- .substring(sourceLocation.column) |
+ .getTextLine(sourceLocation.line) |
+ .substring(sourceLocation.column - 1) |
.trim(); |
} |