| Index: pkg/third_party/html5lib/test/support.dart
|
| diff --git a/pkg/third_party/html5lib/test/support.dart b/pkg/third_party/html5lib/test/support.dart
|
| index 11466797ae356721601d9243aa253250d75e0e68..4d2cb5afc52ef873a6e9657032a7f2baf8f44679 100644
|
| --- a/pkg/third_party/html5lib/test/support.dart
|
| +++ b/pkg/third_party/html5lib/test/support.dart
|
| @@ -1,4 +1,4 @@
|
| -/** Support code for the tests in this directory. */
|
| +/// Support code for the tests in this directory.
|
| library support;
|
|
|
| import 'dart:io';
|
| @@ -72,10 +72,8 @@ class TestData extends IterableBase<Map> {
|
| return result;
|
| }
|
|
|
| - /**
|
| - * If the current heading is a test section heading return the heading,
|
| - * otherwise return null.
|
| - */
|
| + /// If the current heading is a test section heading return the heading,
|
| + /// otherwise return null.
|
| static String sectionHeading(String line) {
|
| return line.startsWith("#") ? line.substring(1).trim() : null;
|
| }
|
| @@ -91,14 +89,12 @@ class TestData extends IterableBase<Map> {
|
| }
|
| }
|
|
|
| -/**
|
| - * Serialize the [document] into the html5 test data format.
|
| - */
|
| +/// Serialize the [document] into the html5 test data format.
|
| testSerializer(Document document) {
|
| return (new TestSerializer()..visit(document)).toString();
|
| }
|
|
|
| -/** Serializes the DOM into test format. See [testSerializer]. */
|
| +/// Serializes the DOM into test format. See [testSerializer].
|
| class TestSerializer extends TreeVisitor {
|
| final StringBuffer _str;
|
| int _indent = 0;
|
|
|