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

Unified Diff: pkg/http_server/test/utils.dart

Issue 52573002: Remove uses of Options from pkg, samples, tests, and third_party directories. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Edit comment Created 7 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
« no previous file with comments | « pkg/docgen/lib/docgen.dart ('k') | pkg/intl/test/message_extraction/extract_to_json.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/http_server/test/utils.dart
diff --git a/pkg/http_server/test/utils.dart b/pkg/http_server/test/utils.dart
index c9e39c7c61bdefb0f2001cea742e6366c2ac0984..9a444e2365fdba3bf858f9ef1db3a34008138fec 100644
--- a/pkg/http_server/test/utils.dart
+++ b/pkg/http_server/test/utils.dart
@@ -58,7 +58,7 @@ const CERTIFICATE = "localhost_cert";
setupSecure() {
- String scriptDir = dirname(new Options().script);
+ String scriptDir = dirname(Platform.script);
String certificateDatabase = join(scriptDir, 'pkcert');
SecureSocket.initialize(database: certificateDatabase,
password: 'dartdart');
« no previous file with comments | « pkg/docgen/lib/docgen.dart ('k') | pkg/intl/test/message_extraction/extract_to_json.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698