diff --git a/src/Microsoft.AspNet.PipelineCore/Microsoft.AspNet.PipelineCore.net45.csproj b/src/Microsoft.AspNet.PipelineCore/Microsoft.AspNet.PipelineCore.net45.csproj index 9844b7f087..08b14e00ac 100644 --- a/src/Microsoft.AspNet.PipelineCore/Microsoft.AspNet.PipelineCore.net45.csproj +++ b/src/Microsoft.AspNet.PipelineCore/Microsoft.AspNet.PipelineCore.net45.csproj @@ -60,6 +60,7 @@ + diff --git a/test/Microsoft.AspNet.FeatureModel.Tests/InterfaceDictionaryTests.cs b/test/Microsoft.AspNet.FeatureModel.Tests/InterfaceDictionaryTests.cs index c42f4b37d1..a8f005ee07 100644 --- a/test/Microsoft.AspNet.FeatureModel.Tests/InterfaceDictionaryTests.cs +++ b/test/Microsoft.AspNet.FeatureModel.Tests/InterfaceDictionaryTests.cs @@ -1,5 +1,4 @@ using System; -using Shouldly; using Xunit; namespace Microsoft.AspNet.FeatureModel.Tests @@ -14,11 +13,11 @@ namespace Microsoft.AspNet.FeatureModel.Tests interfaces.Add(typeof(IThing), thing); - interfaces[typeof(IThing)].ShouldBe(thing); + Assert.Equal(interfaces[typeof(IThing)], thing); object thing2; - interfaces.TryGetValue(typeof(IThing), out thing2).ShouldBe(true); - thing2.ShouldBe(thing); + Assert.True(interfaces.TryGetValue(typeof(IThing), out thing2)); + Assert.Equal(thing2, thing); } [Fact] @@ -29,11 +28,11 @@ namespace Microsoft.AspNet.FeatureModel.Tests interfaces[typeof(IThing)] = thing; - interfaces[typeof(IThing)].ShouldBe(thing); + Assert.Equal(interfaces[typeof(IThing)], thing); object thing2; - interfaces.TryGetValue(typeof(IThing), out thing2).ShouldBe(true); - thing2.ShouldBe(thing); + Assert.True(interfaces.TryGetValue(typeof(IThing), out thing2)); + Assert.Equal(thing2, thing); } [Fact] @@ -44,7 +43,7 @@ namespace Microsoft.AspNet.FeatureModel.Tests interfaces.Add(typeof(IThing), thing); - Should.Throw(() => interfaces.Add(typeof(IThing), thing)); + Assert.Throws(() => interfaces.Add(typeof(IThing), thing)); } } } diff --git a/test/Microsoft.AspNet.PipelineCore.Tests/BuilderTests.cs b/test/Microsoft.AspNet.PipelineCore.Tests/BuilderTests.cs index 7455439ed7..3dfc4278d8 100644 --- a/test/Microsoft.AspNet.PipelineCore.Tests/BuilderTests.cs +++ b/test/Microsoft.AspNet.PipelineCore.Tests/BuilderTests.cs @@ -1,5 +1,4 @@ using Microsoft.AspNet.Abstractions; -using Shouldly; using Xunit; namespace Microsoft.AspNet.PipelineCore.Tests @@ -18,7 +17,7 @@ namespace Microsoft.AspNet.PipelineCore.Tests mockHttpResponse.SetupProperty(x => x.StatusCode); app.Invoke(mockHttpContext.Object); - mockHttpContext.Object.Response.StatusCode.ShouldBe(404); + Assert.Equal(mockHttpContext.Object.Response.StatusCode, 404); } } } \ No newline at end of file