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

Unified Diff: pkg/third_party/html5lib/test/support.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/third_party/html5lib/test/run_all.dart ('k') | pkg/watcher/example/watch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/third_party/html5lib/test/support.dart
diff --git a/pkg/third_party/html5lib/test/support.dart b/pkg/third_party/html5lib/test/support.dart
index c879bf806952a768b19717870a4ede69ee8cd2b7..22b0f480845ae2b476c104ec16d7bae62c27c2a5 100644
--- a/pkg/third_party/html5lib/test/support.dart
+++ b/pkg/third_party/html5lib/test/support.dart
@@ -20,7 +20,7 @@ Map<String, TreeBuilderFactory> get treeTypes {
return _treeTypes;
}
-final testDataDir = path.join(path.dirname(new Options().script), 'data');
+final testDataDir = path.join(path.dirname(Platform.script), 'data');
Iterable<String> getDataFiles(String subdirectory) {
var dir = new Directory(path.join(testDataDir, subdirectory));
« no previous file with comments | « pkg/third_party/html5lib/test/run_all.dart ('k') | pkg/watcher/example/watch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698