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

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

Issue 2614033003: Make subclasses of AbstractContextTest asynchronous. (Closed)
Patch Set: Created 3 years, 11 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_library_test.dart
diff --git a/pkg/analysis_server/test/services/refactoring/rename_library_test.dart b/pkg/analysis_server/test/services/refactoring/rename_library_test.dart
index fd58cc2878aa7ba73af6353519a295e5d0d99a42..4597089bc432f537be7d3f39c858190e2c80da5b 100644
--- a/pkg/analysis_server/test/services/refactoring/rename_library_test.dart
+++ b/pkg/analysis_server/test/services/refactoring/rename_library_test.dart
@@ -19,8 +19,8 @@ main() {
@reflectiveTest
class RenameLibraryTest extends RenameRefactoringTest {
- void test_checkNewName() {
- indexTestUnit('''
+ test_checkNewName() async {
+ await indexTestUnit('''
library my.app;
''');
_createRenameRefactoring();
@@ -48,7 +48,7 @@ library my.app;
'''
part of my.app;
''');
- indexTestUnit('''
+ await indexTestUnit('''
library my.app;
part 'part.dart';
''');
@@ -76,7 +76,7 @@ part of the.new.name;
'''
part of my . app;
''');
- indexTestUnit('''
+ await indexTestUnit('''
library my . app;
part 'part.dart';
''');

Powered by Google App Engine
This is Rietveld 408576698