React to aspnet/Razor#1030 - Enable skipped test

This commit is contained in:
Ajay Bhargav Baaskaran 2017-02-21 17:32:18 -08:00
parent 19331f9532
commit ed9025cc5b
1 changed files with 2 additions and 2 deletions

View File

@ -68,14 +68,14 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests
Assert.Contains(expected, content); Assert.Contains(expected, content);
} }
[Fact(Skip = "Razor #595")] [Fact]
public async Task CompilationFailuresFromViewImportsAreListed() public async Task CompilationFailuresFromViewImportsAreListed()
{ {
// Arrange // Arrange
var expectedMessage = "The type or namespace name 'NamespaceDoesNotExist' could not be found (" var expectedMessage = "The type or namespace name 'NamespaceDoesNotExist' could not be found ("
+ "are you missing a using directive or an assembly reference?)"; + "are you missing a using directive or an assembly reference?)";
var expectedCompilationContent = "public class _Views_ErrorFromViewImports_Index_cshtml : " var expectedCompilationContent = "public class _Views_ErrorFromViewImports_Index_cshtml : "
+ "Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>"; + "global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>";
var expectedMediaType = MediaTypeHeaderValue.Parse("text/html; charset=utf-8"); var expectedMediaType = MediaTypeHeaderValue.Parse("text/html; charset=utf-8");
// Act // Act