We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 391ac58 commit f8e4e94Copy full SHA for f8e4e94
test/Microsoft.NET.Publish.Tests/GivenThatWeWantToPublishAToolProject.cs
@@ -35,7 +35,7 @@ public void It_can_publish_and_has_apphost()
35
publishCommand.Execute();
36
37
publishCommand.GetOutputDirectory(targetFramework: ToolsetInfo.CurrentTargetFramework)
38
- .EnumerateFiles().Should().Contain(f => f.Name == "consoledemo" + Constants.ExeSuffix);
+ .Should().HaveFile("consoledemo" + Constants.ExeSuffix);
39
}
40
41
0 commit comments