Index: pkg/analyzer/test/generated/non_hint_code_test.dart |
diff --git a/pkg/analyzer/test/generated/non_hint_code_test.dart b/pkg/analyzer/test/generated/non_hint_code_test.dart |
index 9954b62bb90506c2ffa42a163fb24945cd675de0..c2539e513e71b0838cd6c7e88ec9b62161e859ab 100644 |
--- a/pkg/analyzer/test/generated/non_hint_code_test.dart |
+++ b/pkg/analyzer/test/generated/non_hint_code_test.dart |
@@ -20,6 +20,16 @@ main() { |
@reflectiveTest |
class NonHintCodeTest extends ResolverTestCase { |
+ test_async_future_object_without_return() async { |
+ Source source = addSource(''' |
+import 'dart:async'; |
+Future<Object> f() async {} |
+'''); |
+ await computeAnalysisResult(source); |
+ assertNoErrors(source); |
+ verify([source]); |
+ } |
+ |
test_deadCode_afterTryCatch() async { |
Source source = addSource(''' |
main() { |