Index: pkg/scheduled_test/lib/src/descriptor/pattern_descriptor.dart |
diff --git a/pkg/scheduled_test/lib/src/descriptor/pattern_descriptor.dart b/pkg/scheduled_test/lib/src/descriptor/pattern_descriptor.dart |
index 7039639221968f44e789c5e917fb31a1eeb3b65a..130cfddcf13a0b55c5f2498a16d5d1e78cfc8e59 100644 |
--- a/pkg/scheduled_test/lib/src/descriptor/pattern_descriptor.dart |
+++ b/pkg/scheduled_test/lib/src/descriptor/pattern_descriptor.dart |
@@ -49,7 +49,8 @@ class PatternDescriptor extends Descriptor { |
if (parent == null) parent = defaultRoot; |
// TODO(nweiz): make sure this works with symlinks. |
var matchingEntries = new Directory(parent).listSync() |
- .map((entry) => entry is File ? entry.fullPathSync() : entry.path) |
+ .map((entry) => entry is File ? entry.resolveSymbolicLinksSync() |
+ : entry.path) |
.where((entry) => fullMatch(path.basename(entry), pattern)) |
.toList(); |
matchingEntries.sort(); |