Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(840)

Unified Diff: pkg/analysis_server/test/services/refactoring/rename_constructor_test.dart

Issue 516673002: Tweaks for refactoring tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analysis_server/test/services/refactoring/rename_constructor_test.dart
diff --git a/pkg/analysis_server/test/services/refactoring/rename_constructor_test.dart b/pkg/analysis_server/test/services/refactoring/rename_constructor_test.dart
index 71a7acec3533152872c74ac4a57754465ba30181..730b4c4c5f0042c9c8e0735aa3643a12ea3b943f 100644
--- a/pkg/analysis_server/test/services/refactoring/rename_constructor_test.dart
+++ b/pkg/analysis_server/test/services/refactoring/rename_constructor_test.dart
@@ -106,7 +106,7 @@ main() {
expect(refactoring.oldName, '');
// validate change
refactoring.newName = 'newName';
- return assertSuccessfulRename('''
+ return assertSuccessfulRefactoring('''
class A {
A.newName() {} // marker
}
@@ -139,7 +139,7 @@ main() {
expect(refactoring.oldName, 'test');
// validate change
refactoring.newName = 'newName';
- return assertSuccessfulRename('''
+ return assertSuccessfulRefactoring('''
class A {
A.newName() {} // marker
}
@@ -172,7 +172,7 @@ main() {
expect(refactoring.oldName, 'test');
// validate change
refactoring.newName = '';
- return assertSuccessfulRename('''
+ return assertSuccessfulRefactoring('''
class A {
A() {} // marker
}

Powered by Google App Engine
This is Rietveld 408576698