diff options
-rw-r--r-- | src/test/WixToolsetTest.BuildTasks/MsbuildFixture.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/WixToolsetTest.BuildTasks/MsbuildFixture.cs b/src/test/WixToolsetTest.BuildTasks/MsbuildFixture.cs index c52bb22d..bcf4862b 100644 --- a/src/test/WixToolsetTest.BuildTasks/MsbuildFixture.cs +++ b/src/test/WixToolsetTest.BuildTasks/MsbuildFixture.cs | |||
@@ -252,8 +252,11 @@ namespace WixToolsetTest.BuildTasks | |||
252 | 252 | ||
253 | var cleanOutput = String.Join("\r\n", result.Output); | 253 | var cleanOutput = String.Join("\r\n", result.Output); |
254 | 254 | ||
255 | // Clean is only expected to delete the files listed in {Project}.FileListAbsolute.txt, | ||
256 | // so this is not quite right but close enough. | ||
255 | var remainingPaths = Directory.EnumerateFiles(baseFolder, @"*.*", SearchOption.AllDirectories) | 257 | var remainingPaths = Directory.EnumerateFiles(baseFolder, @"*.*", SearchOption.AllDirectories) |
256 | .Select(s => s.Substring(baseFolder.Length + 1)) | 258 | .Select(s => s.Substring(baseFolder.Length + 1)) |
259 | .Where(s => s != "obj\\MsiPackage.wixproj.FileListAbsolute.txt") | ||
257 | .OrderBy(s => s) | 260 | .OrderBy(s => s) |
258 | .ToArray(); | 261 | .ToArray(); |
259 | Assert.Empty(remainingPaths); | 262 | Assert.Empty(remainingPaths); |