Chromium Code Reviews| 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) |
| ]); |
| } |