diff --git a/pubspec.lock b/pubspec.lock index e3ad5b8acc..f8530019e1 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -408,4 +408,4 @@ packages: source: hosted version: "2.1.13" sdks: - dart: ">=2.0.0-dev.23.0 <=2.0.0-dev.42.0" + dart: ">=2.0.0-dev.23.0 <=2.0.0-dev.43.0" diff --git a/tool/grind.dart b/tool/grind.dart index 452210a50b..144ce1064c 100644 --- a/tool/grind.dart +++ b/tool/grind.dart @@ -627,8 +627,8 @@ updateTestPackageDocs() async { @Task('Validate the SDK doc build.') @Depends(buildSdkDocs) validateSdkDocs() { - const expectedLibCount = 19; - + const expectedLibCount = 7; + const expectedSubLibCount = 12; File indexHtml = joinFile(sdkDocsDir, ['index.html']); if (!indexHtml.existsSync()) { fail('no index.html found for SDK docs'); @@ -642,12 +642,20 @@ validateSdkDocs() { } log('$foundLibs index.html dart: entries found'); + int foundSubLibs = + _findCount(indexContents, '