dotnet-installer/test/dotnet.Tests/ParserTests
William Li 83f3a3ec86 Fix dotnet run double dash passing arguments
When run “dotnet run -- foo”, foo should be the argument passed to the
subject app. After replacing the original parser, dotnet-run did not
utilize the “unparsedtoken” of the parsed result.

To append unparsedtoken to RunCommand’s argument is not straight
forward. RunCommand has an “immutable constructor”, which is a good
thing, so I made update RunCommand’s argument following the immutable
pattern -- create a new object with the original field but only change
the arguments. I also made these filed private set.
2017-04-13 16:56:57 -07:00
..
AddReferenceParserTests.cs stop writing ParseResult.Diagram to output 2017-03-12 16:48:59 -07:00
ArgumentForwardingExtensionsTests.cs publish, cache, text fixes; rename ForwardAs and introduce ForwardAsMany 2017-03-16 13:22:08 -07:00
MigrateParserTests.cs Fix migrate command's parse error 2017-04-07 08:01:06 -07:00
RestoreParserTests.cs enforce repeating options to for multiple arguments 2017-03-30 07:43:04 -07:00
RunParserTests.cs Fix dotnet run double dash passing arguments 2017-04-13 16:56:57 -07:00