Skip to content

Commit

Permalink
Fixing pack tests that were looking for the nupkg under bin/debug/TFM…
Browse files Browse the repository at this point in the history
… instead of bin/Debug. This was a change in pack that needed to be reflected in the tests.
  • Loading branch information
livarcocc committed Nov 4, 2016
1 parent d68341b commit 7edea7e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/dotnet-pack.Tests/PackTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,8 @@ public void SettingVersionSuffixFlag_ShouldStampAssemblyInfoInOutputAssemblyAndP
informationalVersion.Should().NotBeNull()
.And.BeEquivalentTo("1.0.0-85");

// netstandard1.5 is a workaround for https://github.com/dotnet/sdk/issues/318
var outputPackage = testInstance.Root
.GetDirectory("bin", "Debug", "netstandard1.5")
.GetDirectory("bin", "Debug")
.GetFile("TestLibraryWithConfiguration.1.0.0-85.nupkg");

outputPackage.Should().Exist();
Expand Down Expand Up @@ -191,8 +190,7 @@ public void HasServiceableFlagWhenArgumentPassed()

result.Should().Pass();

// netstandard1.5 is a workaround for https://github.com/dotnet/sdk/issues/318
var outputDir = testInstance.Root.GetDirectory("bin", "Debug", "netstandard1.5");
var outputDir = testInstance.Root.GetDirectory("bin", "Debug");

outputDir.Should().Exist()
.And.HaveFile("TestLibraryWithConfiguration.1.0.0.nupkg");
Expand Down

0 comments on commit 7edea7e

Please sign in to comment.