| Index: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/html/HtmlTagInfoBuilderTest.java
|
| diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/html/HtmlTagInfoBuilderTest.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/html/HtmlTagInfoBuilderTest.java
|
| index e2acae6d83416ddcd5560a1e5783d2b238fc7a35..0e66bae7f2f74488f2fbfdfc71e8d8942d7548a0 100644
|
| --- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/html/HtmlTagInfoBuilderTest.java
|
| +++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/html/HtmlTagInfoBuilderTest.java
|
| @@ -14,6 +14,7 @@
|
| package com.google.dart.engine.internal.html;
|
|
|
| import com.google.dart.engine.EngineTestCase;
|
| +import com.google.dart.engine.error.GatheringErrorListener;
|
| import com.google.dart.engine.html.parser.HtmlParseResult;
|
| import com.google.dart.engine.html.parser.HtmlParser;
|
| import com.google.dart.engine.html.scanner.HtmlScanResult;
|
| @@ -53,7 +54,9 @@ public class HtmlTagInfoBuilderTest extends EngineTestCase {
|
| HtmlScanner scanner = new HtmlScanner(source);
|
| source.getContents(scanner);
|
| HtmlScanResult scanResult = scanner.getResult();
|
| - HtmlParseResult result = new HtmlParser(source).parse(scanResult);
|
| + GatheringErrorListener errorListener = new GatheringErrorListener();
|
| + HtmlParseResult result = new HtmlParser(source, errorListener).parse(scanResult);
|
| + errorListener.assertNoErrors();
|
| return result;
|
| }
|
| }
|
|
|