Skip to content

Commit 69087b5

Browse files
Copilotbaronfel
andcommitted
Fix ItShowsTheAppropriateMessageToTheUser test to check stderr instead of stdout
Co-authored-by: baronfel <[email protected]>
1 parent e306e09 commit 69087b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/dotnet.Tests/GivenThatTheUserIsRunningDotNetForTheFirstTime.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public void ItShowsTheAppropriateMessageToTheUser()
108108
{
109109

110110
var expectedVersion = GetDotnetVersion();
111-
_fixture.FirstDotnetVerbUseCommandResult.StdOut
111+
_fixture.FirstDotnetVerbUseCommandResult.StdErr
112112
.Should()
113113
.ContainVisuallySameFragment(string.Format(
114114
Configurer.LocalizableStrings.FirstTimeMessageWelcome,

0 commit comments

Comments
 (0)