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

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

Issue 1253183015: Flip .packages server support bit. (Closed) Base URL: git@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/lib/src/server_options.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 89d1e9d22376c1b8431fb06decd91466ae39ac02..f3a3790db53ecdea4a9f8f8b77bcc1a393b23179 100644
--- a/pkg/analysis_server/test/server_options_test.dart
+++ b/pkg/analysis_server/test/server_options_test.dart
@@ -33,6 +33,7 @@ foobar: off
expect(options.isSet('baz'), isFalse);
expect(options.isSet('foobar'), isFalse);
expect(options.isSet('does_not_exist'), isFalse);
+ expect(options.isSet('does_not_exist', defaultValue: true), isTrue);
});
test('basic - getStringValue', () {
« no previous file with comments | « pkg/analysis_server/lib/src/server_options.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698