| commit | 3e867f78dbcce935cefb5444a848586848d7c9e3 | [log] [tgz] |
|---|---|---|
| author | Michael Goderbauer <goderbauer@google.com> | Tue Aug 18 19:11:05 2020 -0700 |
| committer | GitHub <noreply@github.com> | Tue Aug 18 19:11:05 2020 -0700 |
| tree | b4fe8d4253dddce665534d6cad1487d609eb9a68 | |
| parent | 1b4775952889830e8181fb2997cd5c28418dd8c8 [diff] [blame] |
Fix assert in dartdoc_checker and enable asserts (#64111)
diff --git a/dev/tools/dartdoc_checker.dart b/dev/tools/dartdoc_checker.dart index 686e918..e91ad1b 100644 --- a/dev/tools/dartdoc_checker.dart +++ b/dev/tools/dartdoc_checker.dart
@@ -84,7 +84,7 @@ } int _scanFile(File file) { - assert(path.extension(file.path) == 'html'); + assert(path.extension(file.path) == '.html'); final Iterable<String> matches = _pattern.allMatches(file.readAsStringSync()) .map((RegExpMatch m ) => m.group(0));