From 29ee450c707327c40a01833f36d245ea8dc0a7a3 Mon Sep 17 00:00:00 2001 From: Peter Huene Date: Tue, 31 Jul 2018 16:39:48 -0700 Subject: [PATCH] Fix test failure. The most recent SDK for 2.2.1xx pinned netstandard.library to 2.0.3 due to https://github.com/dotnet/sdk/issues/2410. This commit changes the expected version to match. --- test/dotnet-new.Tests/GivenThatIWantANewApp.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/dotnet-new.Tests/GivenThatIWantANewApp.cs b/test/dotnet-new.Tests/GivenThatIWantANewApp.cs index d63d844b3..a438cd063 100644 --- a/test/dotnet-new.Tests/GivenThatIWantANewApp.cs +++ b/test/dotnet-new.Tests/GivenThatIWantANewApp.cs @@ -77,7 +77,7 @@ namespace Microsoft.DotNet.New.Tests // Remove the expectedVersion parameter once we have templates targetting netcoreapp2.2. [Theory] [InlineData("console", "microsoft.netcore.app", "2.1.0")] - [InlineData("classlib", "netstandard.library", null)] + [InlineData("classlib", "netstandard.library", "2.0.3")] // FIXME: This is pinned to 2.0.3 due to https://github.com/dotnet/sdk/issues/2410 public void NewProjectRestoresCorrectPackageVersion(string type, string packageName, string expectedVersion) { var rootPath = TestAssets.CreateTestDirectory(identifier: $"_{type}").FullName;