Skip to content

Commit d6e4e38

Browse files
committed
Remove the / in a test that would fail because paths in linux are different than win
1 parent 3d70802 commit d6e4e38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tests/Microsoft.NET.Publish.Tests/GivenThatWeWantToPublishAHelloWorldProject.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ public void It_publishes_on_release_if_PublishRelease_property_set(bool optedOut
444444
.CopyTestAsset("HelloWorld", $"{optedOut}")
445445
.WithSource();
446446

447-
File.WriteAllText(Path.Combine(helloWorldAsset.Path, "/Directory.Build.props"), "<Project><PropertyGroup><PublishRelease>true</PublishRelease></PropertyGroup></Project>");
447+
File.WriteAllText(Path.Combine(helloWorldAsset.Path, "Directory.Build.props"), "<Project><PropertyGroup><PublishRelease>true</PublishRelease></PropertyGroup></Project>");
448448

449449
new DotnetPublishCommand(Log, helloWorldAsset.TestRoot)
450450
.WithEnvironmentVariable(EnvironmentVariableNames.DISABLE_PUBLISH_AND_PACK_RELEASE, optedOut.ToString())

0 commit comments

Comments
 (0)