| Index: compiler/javatests/com/google/dart/compiler/parser/ValidatingSyntaxTest.java
|
| diff --git a/compiler/javatests/com/google/dart/compiler/parser/ValidatingSyntaxTest.java b/compiler/javatests/com/google/dart/compiler/parser/ValidatingSyntaxTest.java
|
| index 27fbce1bbe819d95b19fb53fe7c78a34d24ed661..5960da861ed53faf3c7e58f5f82278e544625373 100755
|
| --- a/compiler/javatests/com/google/dart/compiler/parser/ValidatingSyntaxTest.java
|
| +++ b/compiler/javatests/com/google/dart/compiler/parser/ValidatingSyntaxTest.java
|
| @@ -73,7 +73,10 @@ public class ValidatingSyntaxTest extends AbstractParserTest {
|
| }
|
|
|
| @Override
|
| - protected DartUnit parseUnit(String srcName, String sourceCode) {
|
| + protected DartUnit parseUnit(String srcName, String sourceCode, Object... errors) {
|
| + if (errors.length > 0) {
|
| + throw new RuntimeException("Expected errors not implemented");
|
| + }
|
| return validateUnit(super.parseUnit(srcName, sourceCode));
|
| }
|
|
|
|
|