| Index: compiler/javatests/com/google/dart/compiler/parser/AbstractParserTest.java
|
| diff --git a/compiler/javatests/com/google/dart/compiler/parser/AbstractParserTest.java b/compiler/javatests/com/google/dart/compiler/parser/AbstractParserTest.java
|
| index 7bc8f840c1e74a502b95a790580c2fdb20dd1a57..2d8e9348b634a89720b0167350c9c3d034d7b0a2 100644
|
| --- a/compiler/javatests/com/google/dart/compiler/parser/AbstractParserTest.java
|
| +++ b/compiler/javatests/com/google/dart/compiler/parser/AbstractParserTest.java
|
| @@ -90,6 +90,9 @@ public abstract class AbstractParserTest extends CompilerTestCase {
|
|
|
| public void testDirectives() {
|
| DartUnit unit = parseUnit("Directives.dart");
|
| + if (unit == null) {
|
| + return;
|
| + }
|
| Iterator<DartDirective> iter = unit.getDirectives().iterator();
|
|
|
| DartDirective directive = iter.next();
|
| @@ -112,6 +115,9 @@ public abstract class AbstractParserTest extends CompilerTestCase {
|
|
|
| public void testDirectives2() {
|
| DartUnit unit = parseUnit("Directives2.dart");
|
| + if (unit == null) {
|
| + return;
|
| + }
|
| Iterator<DartDirective> iter = unit.getDirectives().iterator();
|
|
|
| DartDirective directive = iter.next();
|
|
|