diff options
author | Stephen Halter <halter73@gmail.com> | 2022-06-18 07:16:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-18 07:16:36 +0300 |
commit | 2df3de4c3ecffd1faf7cdfcb8b37f5146ebbb431 (patch) | |
tree | 071984b4ce6945438c30aea4d4896e0a3094d0ff | |
parent | 29616866b16f8dcf3b51f3d6c5be33d45daaa341 (diff) |
Update src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/HostTests.cshalter73/61634-lifetime-extensions
-rw-r--r-- | src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/HostTests.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/HostTests.cs b/src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/HostTests.cs index 94f768bf814..8dd30049d9d 100644 --- a/src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/HostTests.cs +++ b/src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/HostTests.cs @@ -73,7 +73,7 @@ namespace Microsoft.Extensions.Hosting.Tests // Maybe this doesn't happen anymore if the container doesn't support RemoteExecutor. if (config["ContentRoot"] is not null) { - throw new Exception($"ContentRoot: {config["ContentRoot"]}, originalCwd: {originalCwd}, systemDirectory: {systemDirectory}, Environment.CurrentDirectory: {Environment.CurrentDirectory}, Environment.SpecialFolder.System: {Environment.SpecialFolder.System}"); + throw new Exception($"ContentRoot: {config["ContentRoot"]}, originalCwd: {originalCwd}, systemDirectory: {systemDirectory}, Environment.CurrentDirectory: {Environment.CurrentDirectory}, Environment.SpecialFolder.System: {Environment.GetFolderPath(Environment.SpecialFolder.System)}"); } Assert.Null(config["ContentRoot"]); |