diff --git a/test/Microsoft.AspNet.Mvc.Razor.Test/Compilation/CompilationResultTest.cs b/test/Microsoft.AspNet.Mvc.Razor.Test/Compilation/CompilationResultTest.cs index 675a3dfec5..cdd29a6860 100644 --- a/test/Microsoft.AspNet.Mvc.Razor.Test/Compilation/CompilationResultTest.cs +++ b/test/Microsoft.AspNet.Mvc.Razor.Test/Compilation/CompilationResultTest.cs @@ -32,10 +32,6 @@ world"; new CompilationMessage("hello"), new CompilationMessage("world") }; - var additionalInfo = new Dictionary - { - { "key", "value" } - }; var result = CompilationResult.Failed(fileInfo.Object, "

hello world

", messages); @@ -43,7 +39,6 @@ world"; // Act and Assert var ex = Assert.Throws(() => result.CompiledType); Assert.Equal(expected, ex.Message); - Assert.Equal("value", ex.Data["key"]); Assert.Equal(originalContent, ex.FileContent); } }