Skip to content

Commit

Permalink
Update tests to reflect new output directory
Browse files Browse the repository at this point in the history
  • Loading branch information
runesoerensen committed Aug 28, 2024
1 parent 6279cb2 commit b419186
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions buildpacks/dotnet/tests/dotnet_publish_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ fn test_dotnet_publish_multi_tfm_solution() {
);
assert_contains!(
context.pack_stdout,
&format! {"worker -> /workspace/worker/bin/Release/net6.0/{rid}/publish/" }
&format! {"worker -> /workspace/worker/bin/publish/" }
);
assert_contains!(
context.pack_stdout,
&format! {"web -> /workspace/web/bin/Release/net8.0/{rid}/web.dll" }
);
assert_contains!(
context.pack_stdout,
&format! {"web -> /workspace/web/bin/Release/net8.0/{rid}/publish/" }
&format! {"web -> /workspace/web/bin/publish/" }
);
},
);
Expand All @@ -53,7 +53,7 @@ fn test_dotnet_publish_with_debug_configuration() {
Determining projects to restore...
Restored /workspace/foo.csproj <PLACEHOLDER>.
foo -> /workspace/bin/Debug/net8.0/{rid}/foo.dll
foo -> /workspace/bin/Debug/net8.0/{rid}/publish/"#}
foo -> /workspace/bin/publish/"#}
);
},
);
Expand All @@ -74,7 +74,7 @@ fn test_dotnet_publish_with_global_json_and_custom_verbosity_level() {
&formatdoc! {r#"
- Publish solution
- Using `Release` build configuration
- Running `dotnet publish /workspace/foo.csproj --runtime {rid} --verbosity normal`
- Running `dotnet publish /workspace/foo.csproj --runtime {rid} "-p:PublishDir=bin/publish" --verbosity normal`
MSBuild version 17.8.3+195e7f5a3 for .NET
Build started <PLACEHOLDER>.
Expand Down

0 comments on commit b419186

Please sign in to comment.