| Index: compiler/javatests/com/google/dart/compiler/parser/TruncatedSourceParserTest.java
|
| diff --git a/compiler/javatests/com/google/dart/compiler/parser/TruncatedSourceParserTest.java b/compiler/javatests/com/google/dart/compiler/parser/TruncatedSourceParserTest.java
|
| index a70f8b81ba9e2e3434ef780680a4fb4431e96b36..bfca3d2aa16b63215c57eb42f32235a24679fdb0 100644
|
| --- a/compiler/javatests/com/google/dart/compiler/parser/TruncatedSourceParserTest.java
|
| +++ b/compiler/javatests/com/google/dart/compiler/parser/TruncatedSourceParserTest.java
|
| @@ -118,7 +118,10 @@ public class TruncatedSourceParserTest extends AbstractParserTest {
|
| }
|
|
|
| @Override
|
| - protected DartUnit parseUnit(String srcName, String srcCode) {
|
| + protected DartUnit parseUnit(String srcName, String srcCode, Object... errors) {
|
| + if (errors.length > 0) {
|
| + throw new RuntimeException("Expected errors not implemented");
|
| + }
|
| // System.out.print(srcName);
|
| ParserThread thread = new ParserThread(srcName);
|
| thread.start();
|
|
|