| 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 2e908c18d3ac6b59b88277c01f54867fd868d336..5f90a7975d98f3f2bd9098aef1325d4a660617e3 100644
|
| --- a/compiler/javatests/com/google/dart/compiler/parser/SyntaxTest.java
|
| +++ b/compiler/javatests/com/google/dart/compiler/parser/SyntaxTest.java
|
| @@ -1010,12 +1010,12 @@ public class SyntaxTest extends AbstractParserTest {
|
| " }",
|
| " }",
|
| " L: switch(1) {",
|
| - " case 1: var result = f() { continue L; };", // bad
|
| + " case 1: var result = () { continue L; };", // bad
|
| " }",
|
| " }",
|
| "}"),
|
| ParserErrorCode.CONTINUE_IN_CASE_MUST_HAVE_LABEL, 4, 23,
|
| - ParserErrorCode.CONTINUE_OUTSIDE_OF_LOOP, 12, 42);
|
| + ParserErrorCode.CONTINUE_OUTSIDE_OF_LOOP, 12, 41);
|
| }
|
|
|
| public void testRedundantAbruptlyTermainatedCaseStatement() throws Exception {
|
|
|