Chromium Code Reviews| Index: pkg/analyzer/test/generated/static_type_warning_code_test.dart |
| diff --git a/pkg/analyzer/test/generated/static_type_warning_code_test.dart b/pkg/analyzer/test/generated/static_type_warning_code_test.dart |
| index 6ba39b09299e3906c893f0cae728807977b4985b..73c0fc03b00b3967c1ba61b21f98cfd5a9c28d75 100644 |
| --- a/pkg/analyzer/test/generated/static_type_warning_code_test.dart |
| +++ b/pkg/analyzer/test/generated/static_type_warning_code_test.dart |
| @@ -133,7 +133,7 @@ f() {}'''); |
| r''' |
| library lib2; |
| f() {}'''); |
| - await assertErrors(source, [StaticWarningCode.AMBIGUOUS_IMPORT]); |
| + await computeAnalysisResult(source); await assertErrors(source, [StaticWarningCode.AMBIGUOUS_IMPORT]); |
|
Brian Wilkerson
2017/01/10 20:53:34
Formatting?
|
| } |
| test_assert_message_suppresses_type_promotion() async { |
| @@ -1720,7 +1720,7 @@ main() { return f.g(); }'''); |
| r''' |
| library lib; |
| h() {}'''); |
| - await assertErrors(source, [StaticTypeWarningCode.UNDEFINED_FUNCTION]); |
| + await computeAnalysisResult(source); await assertErrors(source, [StaticTypeWarningCode.UNDEFINED_FUNCTION]); |
| } |
| test_undefinedGetter() async { |
| @@ -2423,6 +2423,7 @@ main() { |
| f/*<int>*/(); |
| } |
| '''); |
| + await computeAnalysisResult(source); |
| await assertErrors( |
| source, [StaticTypeWarningCode.WRONG_NUMBER_OF_TYPE_ARGUMENTS_METHOD]); |
| for (AnalysisError error in analysisContext2.computeErrors(source)) { |