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

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

Issue 762703004: Add incremental parser test for splitting a combinator. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/generated/parser_test.dart
diff --git a/pkg/analyzer/test/generated/parser_test.dart b/pkg/analyzer/test/generated/parser_test.dart
index 1dc7170cf7a1f27ba5683bb228cfa014d5fd2aab..9414783c7356db815f47b88c76fa302381664d91 100644
--- a/pkg/analyzer/test/generated/parser_test.dart
+++ b/pkg/analyzer/test/generated/parser_test.dart
@@ -2799,6 +2799,12 @@ class IncrementalParserTest extends EngineTestCase {
_assertParse("f() => a ", "+", "*", " b;");
}
+ void test_split_combinator() {
+ // "import 'foo.dart' show A;"
+ // "import 'foo.dart' show B hide A;"
+ _assertParse("import 'foo.dart' show ", "", "B hide ", "A;");
+ }
+
/**
* Given a description of the original and modified contents, perform an incremental scan of the
* two pieces of text.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698