Index: pkg/analysis_server/tool/spec/check_all_test.dart |
diff --git a/pkg/analysis_server/tool/spec/check_all_test.dart b/pkg/analysis_server/tool/spec/check_all_test.dart |
index fa3c13f43ef65943171209ce8da0f415d99d867c..a19596d7ad063a88e71c8eb707961659325ece50 100644 |
--- a/pkg/analysis_server/tool/spec/check_all_test.dart |
+++ b/pkg/analysis_server/tool/spec/check_all_test.dart |
@@ -13,11 +13,11 @@ import 'generate_all.dart'; |
* Check that all targets have been code generated. If they haven't tell the |
* user to run generate_all.dart. |
*/ |
-main() { |
+main() async { |
String script = Platform.script.toFilePath(windows: Platform.isWindows); |
List<String> components = split(script); |
int index = components.indexOf('analysis_server'); |
String pkgPath = joinAll(components.sublist(0, index + 1)); |
- GeneratedContent.checkAll( |
+ await GeneratedContent.checkAll( |
pkgPath, join('tool', 'spec', 'generate_all.dart'), allTargets); |
} |