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

Unified Diff: pkg/analyzer/test/generated/scanner_test.dart

Issue 2910583002: improve fasta interpolation recovery (Closed)
Patch Set: remove unnecessary label Created 3 years, 7 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: pkg/analyzer/test/generated/scanner_test.dart
diff --git a/pkg/analyzer/test/generated/scanner_test.dart b/pkg/analyzer/test/generated/scanner_test.dart
index 92d66210cbae4699026a7203b3d508f9b1b9c311..4ecf68ed7d698ba5d9d8ae0503180bb4e23d2802 100644
--- a/pkg/analyzer/test/generated/scanner_test.dart
+++ b/pkg/analyzer/test/generated/scanner_test.dart
@@ -79,10 +79,10 @@ class CharacterRangeReaderTest extends EngineTestCase {
@reflectiveTest
class LineInfoTest extends EngineTestCase {
void test_lineInfo_multilineComment() {
- String source = "/*\r *\r */";
+ String source = "/*\r\n *\r\n */";
ahe 2017/05/31 13:15:48 Perhaps Fasta should support \r line endings?
danrubel 2017/06/01 19:02:46 I don't think we need to do so given that most (al
_assertLineInfo(source, [
new ScannerTest_ExpectedLocation(0, 1, 1),
- new ScannerTest_ExpectedLocation(4, 2, 2),
+ new ScannerTest_ExpectedLocation(5, 2, 2),
new ScannerTest_ExpectedLocation(source.length - 1, 3, 3)
]);
}

Powered by Google App Engine
This is Rietveld 408576698