Update tool tests to target netcoreapp2.1
This commit is contained in:
parent
dc4046ca7e
commit
60e5fabde2
6 changed files with 27 additions and 10 deletions
|
@ -12,13 +12,14 @@ using NuGet.Frameworks;
|
|||
using NuGet.ProjectModel;
|
||||
using NuGet.Versioning;
|
||||
using Xunit;
|
||||
using Microsoft.DotNet.Tools.Tests.Utilities;
|
||||
|
||||
namespace Microsoft.DotNet.Tests
|
||||
{
|
||||
public class GivenAProjectToolsCommandResolver : TestBase
|
||||
{
|
||||
private static readonly NuGetFramework s_toolPackageFramework =
|
||||
FrameworkConstants.CommonFrameworks.NetCoreApp20;
|
||||
NuGetFrameworks.NetCoreApp21;
|
||||
|
||||
private const string TestProjectName = "AppWithToolDependency";
|
||||
|
||||
|
@ -309,7 +310,7 @@ namespace Microsoft.DotNet.Tests
|
|||
|
||||
result.Should().NotBeNull();
|
||||
|
||||
result.Args.Should().Contain("--fx-version 2.0.0");
|
||||
result.Args.Should().Contain("--fx-version 2.1.0");
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue