| 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 37b460a30522ce7c0a6de7a10cecca0c13e79242..dd1235ebcd4014ac45bc1cbef793c69d5f374158 100644
|
| --- a/compiler/javatests/com/google/dart/compiler/parser/NegativeParserTest.java
|
| +++ b/compiler/javatests/com/google/dart/compiler/parser/NegativeParserTest.java
|
| @@ -149,18 +149,6 @@ public class NegativeParserTest extends CompilerTestCase {
|
| assertEquals("foo", ((DartIdentifier) factory.getName()).getName());
|
| }
|
|
|
| - public void test_defaultParameterValue_inInterfaceMethod() {
|
| - parseExpectErrors(
|
| - "interface A { f(int a, [int b = 12345]); }",
|
| - errEx(ParserErrorCode.DEFAULT_VALUE_CAN_NOT_BE_SPECIFIED_IN_INTERFACE, 1, 33, 5));
|
| - }
|
| -
|
| - public void test_defaultParameterValue_inAbstractMethod() {
|
| - parseExpectErrors(
|
| - "class A { abstract f(int a, [int b = 12345, int c]); }",
|
| - errEx(ParserErrorCode.DEFAULT_VALUE_CAN_NOT_BE_SPECIFIED_IN_ABSTRACT, 1, 38, 5));
|
| - }
|
| -
|
| public void test_defaultParameterValue_inClosureTypedef() {
|
| parseExpectErrors(
|
| "typedef void f(int a, [int b = 12345, inc c]);",
|
|
|