Skip to content

Commit 3697579

Browse files
committed
FIx
1 parent 569ea2a commit 3697579

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

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

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
#nullable enable
55

6-
using System.Collections.Immutable;
76
using System.Runtime.CompilerServices;
87

98
namespace Microsoft.DotNet.Watch.UnitTests;
@@ -222,14 +221,14 @@ async Task MakeValidDependencyChange()
222221
{
223222
if (line.Content.Contains("<Updated Lib>"))
224223
{
225-
if (line.Content.StartsWith($"[ServiceA ({tfm})]"))
224+
if (line.Content.StartsWith($"[A ({tfm})]"))
226225
{
227226
if (!hasUpdateSourceA.Task.IsCompleted)
228227
{
229228
hasUpdateSourceA.SetResult();
230229
}
231230
}
232-
else if (line.Content.StartsWith($"[ServiceB ({tfm})]"))
231+
else if (line.Content.StartsWith($"[B ({tfm})]"))
233232
{
234233
if (!hasUpdateSourceB.Task.IsCompleted)
235234
{
@@ -329,11 +328,11 @@ public async Task UpdateAppliedToNewProcesses(bool sharedOutput)
329328
{
330329
if (line.Content.Contains("<Updated Lib>"))
331330
{
332-
if (line.Content.StartsWith($"[ServiceA ({tfm})]"))
331+
if (line.Content.StartsWith($"[A ({tfm})]"))
333332
{
334333
hasUpdateA.Release();
335334
}
336-
else if (line.Content.StartsWith($"[ServiceB ({tfm})]"))
335+
else if (line.Content.StartsWith($"[B ({tfm})]"))
337336
{
338337
hasUpdateB.Release();
339338
}

0 commit comments

Comments
 (0)