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

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

Issue 2394683006: Switch analysis_server to use 'package:test'. (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 4a32152bbb48b320606d7c639a71ad7477ef2cb8..b5a0072c3b83fe6a3f6cf6dcf34f3d0a4d0d3f09 100644
--- a/pkg/analysis_server/test/server_options_test.dart
+++ b/pkg/analysis_server/test/server_options_test.dart
@@ -8,7 +8,7 @@
library analysis_server.test.server_options;
import 'package:analysis_server/src/server_options.dart';
-import 'package:unittest/unittest.dart';
+import 'package:test/test.dart';
import 'utils.dart';
@@ -19,7 +19,7 @@ void main() {
test('basic - []', () {
var options = new ServerOptions.fromContents('''# ignored
foo: bar
-baz: padded
+baz: padded
Paul Berry 2016/10/06 15:55:45 Don't delete the end of line space here. It's nec
scheglov 2016/10/06 17:17:07 OK I changed the code to make it resilient to for
''');
expect(options['foo'], equals('bar'));
expect(options['baz'], equals('padded'));

Powered by Google App Engine
This is Rietveld 408576698