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

Unified Diff: tests/standalone/io/file_system_links_test.dart

Issue 12314153: dart:io | Rename File.name to File.path. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove stray line break. Created 7 years, 10 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: tests/standalone/io/file_system_links_test.dart
diff --git a/tests/standalone/io/file_system_links_test.dart b/tests/standalone/io/file_system_links_test.dart
index fe8eefc6f25f46f83fa606cdd0c77558117b0175..652bf78d21a26037649ac4ce383000b9b6ecaf73 100644
--- a/tests/standalone/io/file_system_links_test.dart
+++ b/tests/standalone/io/file_system_links_test.dart
@@ -131,7 +131,7 @@ testDirectoryListing() {
var dirs = [];
for (var entry in temp.listSync(recursive:true)) {
if (entry is File) {
- files.add(entry.name);
+ files.add(entry.path);
} else {
Expect.isTrue(entry is Directory);
dirs.add(entry.path);
@@ -147,7 +147,7 @@ testDirectoryListing() {
var lister = temp.list(recursive: true).listen(
(entity) {
if (entity is File) {
- files.add(entity.name);
+ files.add(entity.path);
} else {
Expect.isTrue(entity is Directory);
dirs.add(entity.path);
@@ -182,7 +182,7 @@ testDirectoryListingBrokenLink() {
temp.list(recursive: true).listen(
(entity) {
if (entity is File) {
- files.add(entity.name);
+ files.add(entity.path);
} else {
Expect.isTrue(entity is Directory);
dirs.add(entity.path);

Powered by Google App Engine
This is Rietveld 408576698