| Index: compiler/javatests/com/google/dart/compiler/parser/SyntaxTest.java
|
| diff --git a/compiler/javatests/com/google/dart/compiler/parser/SyntaxTest.java b/compiler/javatests/com/google/dart/compiler/parser/SyntaxTest.java
|
| index bf007e6cb0342f67554db38a3672115889469143..4b96e97d9a03ff04a0aa7a9b8a8a218dd9a1c151 100644
|
| --- a/compiler/javatests/com/google/dart/compiler/parser/SyntaxTest.java
|
| +++ b/compiler/javatests/com/google/dart/compiler/parser/SyntaxTest.java
|
| @@ -80,6 +80,13 @@ public class SyntaxTest extends AbstractParserTest {
|
| " int as = 0;",
|
| "}"));
|
| }
|
| +
|
| + public void test_patch() {
|
| + DartUnit unit = parseUnit("patch.dart", Joiner.on("\n").join(
|
| + "patch class A {",
|
| + "}"));
|
| + assertEquals(1, unit.getTopLevelNodes().size());
|
| + }
|
|
|
| public void test_index_literalMap() {
|
| parseUnit("test.dart", Joiner.on('\n').join(
|
|
|