Chromium Code Reviews| Index: compiler/javatests/com/google/dart/compiler/parser/NegativeParserTest.java |
| diff --git a/compiler/javatests/com/google/dart/compiler/parser/NegativeParserTest.java b/compiler/javatests/com/google/dart/compiler/parser/NegativeParserTest.java |
| index 95e387ff4041aeb34b382e02b53566ded718fc64..3d2885319c7475a191f3d122cbbf88cfab9c9953 100644 |
| --- a/compiler/javatests/com/google/dart/compiler/parser/NegativeParserTest.java |
| +++ b/compiler/javatests/com/google/dart/compiler/parser/NegativeParserTest.java |
| @@ -303,19 +303,7 @@ public class NegativeParserTest extends CompilerTestCase { |
| "foo.baz() {}", |
| errEx(ParserErrorCode.FUNCTION_NAME_EXPECTED_IDENTIFIER, 1, 1, 7)); |
| } |
| - |
| - public void testReservedWordClass() { |
| - parseExpectErrors( |
| - Joiner.on("\n").join( |
| - "class foo {}", |
| - "main() {", |
| - " int class = 10;", |
| - " print(\"class = $class\");", |
| - "}"), |
| - errEx(ParserErrorCode.EXPECTED_TOKEN, 3, 7, 5), |
| - errEx(ParserErrorCode.UNEXPECTED_TOKEN, 4, 19, 5)); |
| - } |
| - |
| + |
|
zundel
2012/04/02 20:02:59
(Moved to ParserRecoveryTest)
|
| public void testInvalidStringInterpolation() { |
| parseExpectErrors( |
| Joiner.on("\n").join( |