Skip to content

Commit

Permalink
FIx
Browse files Browse the repository at this point in the history
  • Loading branch information
tmat committed Jan 22, 2025
1 parent 569ea2a commit 3697579
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

#nullable enable

using System.Collections.Immutable;
using System.Runtime.CompilerServices;

namespace Microsoft.DotNet.Watch.UnitTests;
Expand Down Expand Up @@ -222,14 +221,14 @@ async Task MakeValidDependencyChange()
{
if (line.Content.Contains("<Updated Lib>"))
{
if (line.Content.StartsWith($"[ServiceA ({tfm})]"))
if (line.Content.StartsWith($"[A ({tfm})]"))
{
if (!hasUpdateSourceA.Task.IsCompleted)
{
hasUpdateSourceA.SetResult();
}
}
else if (line.Content.StartsWith($"[ServiceB ({tfm})]"))
else if (line.Content.StartsWith($"[B ({tfm})]"))
{
if (!hasUpdateSourceB.Task.IsCompleted)
{
Expand Down Expand Up @@ -329,11 +328,11 @@ public async Task UpdateAppliedToNewProcesses(bool sharedOutput)
{
if (line.Content.Contains("<Updated Lib>"))
{
if (line.Content.StartsWith($"[ServiceA ({tfm})]"))
if (line.Content.StartsWith($"[A ({tfm})]"))
{
hasUpdateA.Release();
}
else if (line.Content.StartsWith($"[ServiceB ({tfm})]"))
else if (line.Content.StartsWith($"[B ({tfm})]"))
{
hasUpdateB.Release();
}
Expand Down

0 comments on commit 3697579

Please sign in to comment.