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

Unified Diff: pkg/analysis_server/test/analysis/notification_highlights_test2.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
Index: pkg/analysis_server/test/analysis/notification_highlights_test2.dart
diff --git a/pkg/analysis_server/test/analysis/notification_highlights_test2.dart b/pkg/analysis_server/test/analysis/notification_highlights_test2.dart
index 76591256f4162aebfd12f4d4ecd38d2c75483351..002bb1b9dacc63bff04cccafcf12ff0586bb3cd0 100644
--- a/pkg/analysis_server/test/analysis/notification_highlights_test2.dart
+++ b/pkg/analysis_server/test/analysis/notification_highlights_test2.dart
@@ -12,8 +12,10 @@ import 'package:test_reflective_loader/test_reflective_loader.dart';
import 'package:unittest/unittest.dart';
import '../analysis_abstract.dart';
+import '../utils.dart';
main() {
+ initializeTestEnvironment();
defineReflectiveTests(AnalysisNotificationHighlightsTest);
defineReflectiveTests(HighlightTypeTest);
}
@@ -1061,7 +1063,9 @@ class A<T> {
}
void _addLibraryForTestPart() {
- addFile('$testFolder/my_lib.dart', '''
+ addFile(
+ '$testFolder/my_lib.dart',
+ '''
library lib;
part 'test.dart';
''');

Powered by Google App Engine
This is Rietveld 408576698