diff --git a/test/Microsoft.AspNet.TestHost.Tests/TestServerTests.cs b/test/Microsoft.AspNet.TestHost.Tests/TestServerTests.cs index c1b0ea1fb3..b486dd3ffb 100644 --- a/test/Microsoft.AspNet.TestHost.Tests/TestServerTests.cs +++ b/test/Microsoft.AspNet.TestHost.Tests/TestServerTests.cs @@ -66,9 +66,7 @@ namespace Microsoft.AspNet.TestHost.Tests .BuildServiceProvider(); // Act & Assert - Assert.Throws( - "serviceProvider", - () => TestServer.Create(services, new Startup().Configuration)); + Assert.Throws(() => TestServer.Create(services, new Startup().Configuration)); } public class Startup