From 758c0cadefcaa54891fcc13eb1e7f81673ac7d62 Mon Sep 17 00:00:00 2001 From: Pranav K Date: Mon, 11 Aug 2014 10:39:42 -0700 Subject: [PATCH] Fixing unit test --- .../Compilation/CompilationResultTest.cs | 5 ----- 1 file changed, 5 deletions(-) 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); } }