Skip to content

Commit 93cd030

Browse files
committed
Use ToolsetInfo.CurrentTargetFramework in Aspire test
1 parent 80fe749 commit 93cd030

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/dotnet-watch.Tests/HotReload/ApplyDeltaTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -605,8 +605,8 @@ public async Task Aspire()
605605
await App.AssertOutputLineStartsWith("dotnet watch 🔥 Hot reload change handled");
606606

607607
App.AssertOutputContains("Using Aspire process launcher.");
608-
App.AssertOutputContains(MessageDescriptor.HotReloadSucceeded, "WatchAspire.AppHost (net10.0)");
609-
App.AssertOutputContains(MessageDescriptor.HotReloadSucceeded, "WatchAspire.ApiService (net10.0)");
608+
App.AssertOutputContains(MessageDescriptor.HotReloadSucceeded, $"WatchAspire.AppHost ({ToolsetInfo.CurrentTargetFramework})");
609+
App.AssertOutputContains(MessageDescriptor.HotReloadSucceeded, $"WatchAspire.ApiService ({ToolsetInfo.CurrentTargetFramework})");
610610

611611
// Only one browser should be launched (dashboard). The child process shouldn't launch a browser.
612612
Assert.Equal(1, App.Process.Output.Count(line => line.StartsWith("dotnet watch ⌚ Launching browser: ")));

0 commit comments

Comments
 (0)