-
Notifications
You must be signed in to change notification settings - Fork 266
Closed
Labels
state: in workIssues that are currently worked onIssues that are currently worked ontype: bugIssues that describe misbehaving functionalityIssues that describe misbehaving functionality
Description
MockFileSystem is not consistent under Windows.
var fs = new MockFileSystem();
fs.AddFile(@"c:\d1\d2\file.txt", new MockFileData("Hello"));
Console.WriteLine(fs.Directory.GetFiles("c:/d1/d2/").Length); // Prints "0": not correct
Console.WriteLine(fs.File.Exists("c:/d1/d2/file.txt")); // Prints "true": correct but not consistent with GetFiles
Under Windows, directory paths are considered equals whatever they are written with slashes of backslashes.
Was working fine in 2.0.
waf
Metadata
Metadata
Assignees
Labels
state: in workIssues that are currently worked onIssues that are currently worked ontype: bugIssues that describe misbehaving functionalityIssues that describe misbehaving functionality