Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(916)

Unified Diff: pkg/third_party/html5lib/test/support.dart

Issue 178843003: [html5lib] triple slash comment style (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: remove extra check Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698