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

Unified Diff: pkg/analysis_server/test/edit/assists_test.dart

Issue 1266923004: More fixes for failures on the Windows bot (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 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
« no previous file with comments | « pkg/analysis_server/test/domain_server_test.dart ('k') | pkg/analysis_server/test/edit/fixes_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/edit/assists_test.dart
diff --git a/pkg/analysis_server/test/edit/assists_test.dart b/pkg/analysis_server/test/edit/assists_test.dart
index 42ca88a619e527059eacbdb71304ad1fc1937d27..505212c63629bf6a4ca1195a28ee35e74f40eb15 100644
--- a/pkg/analysis_server/test/edit/assists_test.dart
+++ b/pkg/analysis_server/test/edit/assists_test.dart
@@ -13,9 +13,10 @@ import 'package:test_reflective_loader/test_reflective_loader.dart';
import 'package:unittest/unittest.dart' hide ERROR;
import '../analysis_abstract.dart';
+import '../utils.dart';
main() {
- groupSep = ' | ';
+ initializeTestEnvironment();
defineReflectiveTests(AssistsTest);
}
@@ -53,7 +54,9 @@ main() {
''');
await waitForTasksFinished();
prepareAssists('v =');
- _assertHasChange('Remove type annotation', '''
+ _assertHasChange(
+ 'Remove type annotation',
+ '''
main() {
var v = 1;
}
@@ -68,7 +71,9 @@ main() {
''');
await waitForTasksFinished();
prepareAssists('v =');
- _assertHasChange('Split variable declaration', '''
+ _assertHasChange(
+ 'Split variable declaration',
+ '''
main() {
int v;
v = 1;
@@ -87,7 +92,9 @@ main() {
int offset = findOffset(' print(1)');
int length = findOffset('}') - offset;
prepareAssistsAt(offset, length);
- _assertHasChange("Surround with 'if'", '''
+ _assertHasChange(
+ "Surround with 'if'",
+ '''
main() {
if (condition) {
print(1);
« no previous file with comments | « pkg/analysis_server/test/domain_server_test.dart ('k') | pkg/analysis_server/test/edit/fixes_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698