Skip to content

Commit

Permalink
fix assert ordering (#42007)
Browse files Browse the repository at this point in the history
  • Loading branch information
eiriktsarpalis authored Sep 9, 2020
1 parent d949f22 commit c0b87c7
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ public void TestChangesInConsoleEncoding()
p.StartInfo.RedirectStandardError = true;
p.Start();

Assert.Equal(p.StandardInput.Encoding.CodePage, expectedCodePage);
Assert.Equal(p.StandardOutput.CurrentEncoding.CodePage, expectedCodePage);
Assert.Equal(p.StandardError.CurrentEncoding.CodePage, expectedCodePage);
Assert.Equal(expectedCodePage, p.StandardInput.Encoding.CodePage);
Assert.Equal(expectedCodePage, p.StandardOutput.CurrentEncoding.CodePage);
Assert.Equal(expectedCodePage, p.StandardError.CurrentEncoding.CodePage);

p.Kill();
Assert.True(p.WaitForExit(WaitInMS));
Expand Down

0 comments on commit c0b87c7

Please sign in to comment.