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

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

Issue 2996673002: translate missing ">" fasta error code to analyzer error (Closed)
Patch Set: Created 3 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 | « no previous file | pkg/front_end/lib/src/scanner/errors.dart » ('j') | pkg/front_end/lib/src/scanner/errors.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 76d0fd287f41332d390c7e7331ecf3c0dadc596b..3d7113f594754dc50bbbe0ab943d6b0c300cbf1a 100644
--- a/pkg/analyzer/test/generated/scanner_test.dart
+++ b/pkg/analyzer/test/generated/scanner_test.dart
@@ -79,6 +79,12 @@ class CharacterRangeReaderTest extends EngineTestCase {
@reflectiveTest
class LineInfoTest extends EngineTestCase {
+ void test_issue_30320() {
scheglov 2017/08/08 20:45:22 I used to do this too, but now I think that it is
danrubel 2017/08/11 18:06:50 Good point. Renamed.
+ String source = '<!-- @Component(';
+ GatheringErrorListener listener = new GatheringErrorListener();
+ _scanWithListener(source, listener);
+ }
+
void test_lineInfo_multilineComment() {
String source = "/*\r\n *\r\n */";
_assertLineInfo(source, [
« no previous file with comments | « no previous file | pkg/front_end/lib/src/scanner/errors.dart » ('j') | pkg/front_end/lib/src/scanner/errors.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698