Index: pkg/analysis_server/test/services/refactoring/extract_local_test.dart |
diff --git a/pkg/analysis_server/test/services/refactoring/extract_local_test.dart b/pkg/analysis_server/test/services/refactoring/extract_local_test.dart |
index 7ba11241c5118f578a9f2c1d7d3001579d41c1e2..6cdb90c8f07470bfddd2b71f598d5831e63eb015 100644 |
--- a/pkg/analysis_server/test/services/refactoring/extract_local_test.dart |
+++ b/pkg/analysis_server/test/services/refactoring/extract_local_test.dart |
@@ -288,16 +288,16 @@ main() { |
test_const_inList_inConditionalExpression() { |
indexTestUnit(''' |
-main(bool b) { |
- const [b ? 1 : 2, 3]; |
+main() { |
+ const [true ? 1 : 2, 3]; |
} |
'''); |
_createRefactoringForString('1'); |
// apply refactoring |
return _assertSuccessfulRefactoring(''' |
-main(bool b) { |
+main() { |
const res = 1; |
- const [b ? res : 2, 3]; |
+ const [true ? res : 2, 3]; |
} |
'''); |
} |