Index: pkg/analysis_server/test/services/refactoring/abstract_refactoring.dart |
diff --git a/pkg/analysis_server/test/services/refactoring/abstract_refactoring.dart b/pkg/analysis_server/test/services/refactoring/abstract_refactoring.dart |
index b748ea7c86e89029475198663c0fc5810e04f803..8ed4913bb04a7866869edd8e9f0cb453324d4382 100644 |
--- a/pkg/analysis_server/test/services/refactoring/abstract_refactoring.dart |
+++ b/pkg/analysis_server/test/services/refactoring/abstract_refactoring.dart |
@@ -19,7 +19,6 @@ import 'package:unittest/unittest.dart'; |
import '../../abstract_single_unit.dart'; |
- |
int findIdentifierLength(String search) { |
int length = 0; |
while (length < search.length) { |
@@ -34,7 +33,6 @@ int findIdentifierLength(String search) { |
return length; |
} |
- |
/** |
* The base class for all [Refactoring] tests. |
*/ |
@@ -92,9 +90,10 @@ abstract class RefactoringTest extends AbstractSingleUnitTest { |
/** |
* Asserts that [status] has expected severity and message. |
*/ |
- void assertRefactoringStatus(RefactoringStatus status, |
- RefactoringProblemSeverity expectedSeverity, {String expectedMessage, |
- SourceRange expectedContextRange, String expectedContextSearch}) { |
+ void assertRefactoringStatus( |
+ RefactoringStatus status, RefactoringProblemSeverity expectedSeverity, |
+ {String expectedMessage, SourceRange expectedContextRange, |
+ String expectedContextSearch}) { |
expect(status.severity, expectedSeverity, reason: status.toString()); |
if (expectedSeverity != null) { |
RefactoringProblem problem = status.problem; |