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

Unified Diff: pkg/analysis_server/test/server_options_test.dart

Issue 2402483002: Remove 'initializeTestEnvironment' from 'analysis_server'. (Closed)
Patch Set: Created 4 years, 2 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/server_options_test.dart
diff --git a/pkg/analysis_server/test/server_options_test.dart b/pkg/analysis_server/test/server_options_test.dart
index b5a0072c3b83fe6a3f6cf6dcf34f3d0a4d0d3f09..8561a231284c25f67d5c4873c60598996b8e02b9 100644
--- a/pkg/analysis_server/test/server_options_test.dart
+++ b/pkg/analysis_server/test/server_options_test.dart
@@ -10,16 +10,12 @@ library analysis_server.test.server_options;
import 'package:analysis_server/src/server_options.dart';
import 'package:test/test.dart';
-import 'utils.dart';
-
void main() {
- initializeTestEnvironment();
-
group('server_options', () {
test('basic - []', () {
var options = new ServerOptions.fromContents('''# ignored
foo: bar
-baz: padded
+baz: ${"padded "}
Paul Berry 2016/10/06 17:23:05 Clever. I like it!
''');
expect(options['foo'], equals('bar'));
expect(options['baz'], equals('padded'));

Powered by Google App Engine
This is Rietveld 408576698