Skip to content

Commit f282413

Browse files
committed
fix message in test explanation
1 parent f8e4e94 commit f282413

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/Microsoft.NET.ToolPack.Tests/GivenThatWeWantToPackAToolProject.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#nullable disable
55

66
using System.Runtime.CompilerServices;
7+
using Microsoft.DotNet.Cli.Utils;
78
using NuGet.Packaging;
89
using NuGet.Packaging.Core;
910

@@ -194,7 +195,7 @@ public void It_does_not_contain_apphost_exe(bool multiTarget)
194195
.Should().Pass();
195196
var runCommand = new FileInfo(getValuesCommand.GetValues().Single());
196197
runCommand.Name
197-
.Should().StartWith("consoledemo", because: "The RunCommand should recognize that this is an AppHost project and should use the muxer to launch it for non-tool use cases.");
198+
.Should().Be("consoledemo" + Constants.ExeSuffix, because: "The RunCommand should recognize that this is an AppHost-using project and should use the AppHost for non-tool use cases.");
198199
}
199200
}
200201

0 commit comments

Comments
 (0)