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

Unified Diff: pkg/pathos/test/pathos_test.dart

Issue 13896034: Add the ability to change the working directory (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixed tests Created 7 years, 8 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/pathos/lib/path.dart ('k') | runtime/bin/builtin_natives.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/pathos/test/pathos_test.dart
diff --git a/pkg/pathos/test/pathos_test.dart b/pkg/pathos/test/pathos_test.dart
index c820a4742d4327b42bdcfe5bf0f719aa9cf660dd..2d56ee22b5e422fcbc7232ee3b6a229162a33191 100644
--- a/pkg/pathos/test/pathos_test.dart
+++ b/pkg/pathos/test/pathos_test.dart
@@ -40,7 +40,7 @@ main() {
test('uses the current working directory if root is omitted', () {
var builder = new path.Builder();
- expect(builder.root, new io.Directory.current().path);
+ expect(builder.root, io.Directory.current.path);
});
test('uses the host OS if style is omitted', () {
@@ -54,6 +54,6 @@ main() {
});
test('current', () {
- expect(path.current, new io.Directory.current().path);
+ expect(path.current, io.Directory.current.path);
});
}
« no previous file with comments | « pkg/pathos/lib/path.dart ('k') | runtime/bin/builtin_natives.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698