Skip to content

Commit f8e4e94

Browse files
committed
clean up test assertion
1 parent 391ac58 commit f8e4e94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Microsoft.NET.Publish.Tests/GivenThatWeWantToPublishAToolProject.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public void It_can_publish_and_has_apphost()
3535
publishCommand.Execute();
3636

3737
publishCommand.GetOutputDirectory(targetFramework: ToolsetInfo.CurrentTargetFramework)
38-
.EnumerateFiles().Should().Contain(f => f.Name == "consoledemo" + Constants.ExeSuffix);
38+
.Should().HaveFile("consoledemo" + Constants.ExeSuffix);
3939
}
4040
}
4141
}

0 commit comments

Comments
 (0)