Argument Fowarding Tests should account for newline added by StreamFowarder. Add an entry to developer guide so command developers will use Console.WriteLine. PR feedback and slight refactoring.
This commit is contained in:
parent
ccaaebf6e5
commit
b8e95a9568
3 changed files with 39 additions and 21 deletions
|
@ -206,7 +206,7 @@ namespace Microsoft.DotNet.Tests.ArgumentForwarding
|
|||
/// <returns></returns>
|
||||
private string[] ParseReflectorOutput(string reflectorOutput)
|
||||
{
|
||||
return reflectorOutput.Split(',');
|
||||
return reflectorOutput.TrimEnd('\r', '\n').Split(',');
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue