Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tmat committed Jan 21, 2025
1 parent 99f8dc6 commit 569ea2a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ async Task MakeValidDependencyChange()
}
else
{
Assert.Fail("Only service projects should be updated");
Assert.Fail($"Only service projects should be updated: '{line.Content}'");
}
}
};
Expand Down Expand Up @@ -339,7 +339,7 @@ public async Task UpdateAppliedToNewProcesses(bool sharedOutput)
}
else
{
Assert.Fail("Only service projects should be updated");
Assert.Fail($"Only service projects should be updated: '{line.Content}'");
}
}
};
Expand Down Expand Up @@ -425,7 +425,7 @@ public async Task HostRestart(UpdateLocation updateLocation)
}
else
{
Assert.Fail("Only service projects should be updated");
Assert.Fail($"Only service projects should be updated: '{line.Content}'");
}
}
};
Expand Down
3 changes: 3 additions & 0 deletions test/dotnet-watch.Tests/Utilities/TestReporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ internal class TestReporter(ITestOutputHelper output) : IReporter
public bool IsVerbose
=> true;

public bool PrefixProcessOutput
=> true;

public event Action<OutputLine>? OnProcessOutput;

public void ReportProcessOutput(OutputLine line)
Expand Down

0 comments on commit 569ea2a

Please sign in to comment.