diff --git a/build/dependencies.props b/build/dependencies.props index 97efbe6cdc..96e0839cde 100644 --- a/build/dependencies.props +++ b/build/dependencies.props @@ -7,7 +7,8 @@ 2.0.0-* 2.0.0-* 2.0.0-* - 15.3.0-* - 2.3.0-beta2-* + 15.3.0 + 0.6.1 + 2.3.0-beta4-build3742 diff --git a/test/Microsoft.AspNetCore.Routing.Tests/Microsoft.AspNetCore.Routing.Tests.csproj b/test/Microsoft.AspNetCore.Routing.Tests/Microsoft.AspNetCore.Routing.Tests.csproj index 43eb48c89c..93d336c15a 100644 --- a/test/Microsoft.AspNetCore.Routing.Tests/Microsoft.AspNetCore.Routing.Tests.csproj +++ b/test/Microsoft.AspNetCore.Routing.Tests/Microsoft.AspNetCore.Routing.Tests.csproj @@ -21,6 +21,7 @@ + diff --git a/test/Microsoft.AspNetCore.Routing.Tests/Tree/TreeRouterTest.cs b/test/Microsoft.AspNetCore.Routing.Tests/Tree/TreeRouterTest.cs index e58aee9a97..d6c90e9756 100644 --- a/test/Microsoft.AspNetCore.Routing.Tests/Tree/TreeRouterTest.cs +++ b/test/Microsoft.AspNetCore.Routing.Tests/Tree/TreeRouterTest.cs @@ -1819,8 +1819,8 @@ namespace Microsoft.AspNetCore.Routing.Tree Assert.Empty(context.RouteData.Routers); - Assert.Equal(1, nestedRouters.Count); - Assert.Equal(next.Object.GetType(), nestedRouters[0].GetType()); + var router = Assert.Single(nestedRouters); + Assert.Equal(next.Object.GetType(), router.GetType()); } [Fact] @@ -1861,8 +1861,8 @@ namespace Microsoft.AspNetCore.Routing.Tree Assert.Empty(context.RouteData.Routers); - Assert.Equal(1, nestedRouters.Count); - Assert.Equal(next.Object.GetType(), nestedRouters[0].GetType()); + var router = Assert.Single(nestedRouters); + Assert.Equal(next.Object.GetType(), router.GetType()); } [Fact]