Fix test failure on MacOS

This commit is contained in:
Ajay Bhargav Baaskaran 2018-05-22 15:08:34 -07:00
parent 4bad5adc24
commit 78f698db96
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ namespace Microsoft.AspNetCore.Razor.Design.IntegrationTests
// There is some quirkiness with MsBuild in unix where it regenerates this file
// even though it shouldn't. This is tracked here https://github.com/aspnet/Razor/issues/2219.
filesToIgnore.Add(Path.Combine(directoryPath, "SimpleMvc.TagHelpers.input.cache"));
filesToIgnore.Add(Path.Combine(directoryPath, "SimpleMvc.AssemblyInfo.cs"));
}
var files = Directory.GetFiles(directoryPath).Where(p => !filesToIgnore.Contains(p));