Skip to content

Commit 41648d0

Browse files
SimonZhao888Simon Zhao (BEYONDSOFT CONSULTING INC)
andauthored
Fix test issue 47246: Adding the dotnet pack parameters (#49613)
Co-authored-by: Simon Zhao (BEYONDSOFT CONSULTING INC) <[email protected]>
1 parent eb9e3b1 commit 41648d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/dotnet.Tests/CommandTests/Pack/PackTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,15 +103,15 @@ public void HasIncludedFiles()
103103
.And.Contain(e => e.FullName == "anotherpath/pack2.txt");
104104
}
105105

106-
[Fact(Skip = "https://github.com/dotnet/sdk/issues/47246")]
106+
[Fact]
107107
public void PackAddsCorrectFilesForProjectsWithOutputNameSpecified()
108108
{
109109
var testInstance = _testAssetsManager.CopyTestAsset("LibraryWithOutputAssemblyName")
110110
.WithSource();
111111

112112
new DotnetPackCommand(Log)
113113
.WithWorkingDirectory(testInstance.Path)
114-
.Execute()
114+
.Execute("-c", "Debug", "-p:PackageID=LibraryWithOutputAssemblyName", "--include-symbols")
115115
.Should().Pass();
116116

117117

0 commit comments

Comments
 (0)