Index: pkg/analysis_server/test/services/refactoring/extract_method_test.dart |
diff --git a/pkg/analysis_server/test/services/refactoring/extract_method_test.dart b/pkg/analysis_server/test/services/refactoring/extract_method_test.dart |
index a20564ba7ede168847b77fcfff917f9dd04b0177..841a83ebf2b6e81e78c020bb118f71868031d2bf 100644 |
--- a/pkg/analysis_server/test/services/refactoring/extract_method_test.dart |
+++ b/pkg/analysis_server/test/services/refactoring/extract_method_test.dart |
@@ -894,7 +894,7 @@ main(int k) { |
await indexTestUnit(''' |
var X = 1; |
-var Y = () { |
+dynamic Y = () { |
return 1 + X; |
}; |
'''); |
@@ -903,11 +903,11 @@ var Y = () { |
return _assertSuccessfulRefactoring(''' |
var X = 1; |
-var Y = () { |
+dynamic Y = () { |
return res(); |
}; |
-num res() => 1 + X; |
+int res() => 1 + X; |
'''); |
} |