@@ -756,7 +756,7 @@ public void List_Is_Appended_Given_Two_Short_Args()
756756 list . Add ( new KeyValuePair < string , string > ( "l" , "foo" ) ) ;
757757 list . Add ( new KeyValuePair < string , string > ( "l" , "bar" ) ) ;
758758
759- var a = new CommandLine . Arguments ( "-l foo -l bar" , list , new List < string > ( ) , GetType ( ) ) ;
759+ var a = CommandLine . Arguments . Parse ( "-l foo -l bar" , GetType ( ) ) ;
760760 var dict = a . ArgumentDictionary ;
761761
762762 List < object > argList = null ;
@@ -777,7 +777,7 @@ public void List_Is_Appended_Given_Two_Long_Args()
777777 list . Add ( new KeyValuePair < string , string > ( "list" , "foo" ) ) ;
778778 list . Add ( new KeyValuePair < string , string > ( "list" , "bar" ) ) ;
779779
780- var a = new CommandLine . Arguments ( "--list foo --list bar" , list , new List < string > ( ) , GetType ( ) ) ;
780+ var a = CommandLine . Arguments . Parse ( "--list foo --list bar" , GetType ( ) ) ;
781781 var dict = a . ArgumentDictionary ;
782782
783783 List < object > argList = null ;
@@ -798,7 +798,7 @@ public void List_Is_Appended_Given_Mixed_Args_Short_First()
798798 list . Add ( new KeyValuePair < string , string > ( "l" , "foo" ) ) ;
799799 list . Add ( new KeyValuePair < string , string > ( "list" , "bar" ) ) ;
800800
801- var a = new CommandLine . Arguments ( "-l foo --list bar" , list , new List < string > ( ) , GetType ( ) ) ;
801+ var a = CommandLine . Arguments . Parse ( "-l foo --list bar" , GetType ( ) ) ;
802802 var dict = a . ArgumentDictionary ;
803803
804804 List < object > argList = null ;
@@ -819,7 +819,7 @@ public void List_Is_Appended_Given_Mixed_Args_Long_First()
819819 list . Add ( new KeyValuePair < string , string > ( "list" , "foo" ) ) ;
820820 list . Add ( new KeyValuePair < string , string > ( "l" , "bar" ) ) ;
821821
822- var a = new CommandLine . Arguments ( "--list foo -l bar" , list , new List < string > ( ) , GetType ( ) ) ;
822+ var a = CommandLine . Arguments . Parse ( "--list foo -l bar" , GetType ( ) ) ;
823823 var dict = a . ArgumentDictionary ;
824824
825825 List < object > argList = null ;
@@ -840,7 +840,7 @@ public void List_Is_Not_Appended_Given_Mixed_Args_Long_First_No_Type()
840840 list . Add ( new KeyValuePair < string , string > ( "list" , "foo" ) ) ;
841841 list . Add ( new KeyValuePair < string , string > ( "l" , "bar" ) ) ;
842842
843- var a = new CommandLine . Arguments ( "--list foo -l bar" , list , new List < string > ( ) ) ;
843+ var a = CommandLine . Arguments . Parse ( "--list foo -l bar" ) ;
844844 var dict = a . ArgumentDictionary ;
845845
846846 Assert . Equal ( 2 , dict . Count ) ;
@@ -857,7 +857,7 @@ public void Value_Is_Replaced_Given_Multiple_Short()
857857 list . Add ( new KeyValuePair < string , string > ( "b" , "1" ) ) ;
858858 list . Add ( new KeyValuePair < string , string > ( "b" , "2" ) ) ;
859859
860- var a = new CommandLine . Arguments ( "-b 1 -b 2" , list , new List < string > ( ) , GetType ( ) ) ;
860+ var a = CommandLine . Arguments . Parse ( "-b 1 -b 2" , GetType ( ) ) ;
861861 var dict = a . ArgumentDictionary ;
862862
863863 Assert . Single ( dict ) ;
@@ -872,7 +872,7 @@ public void Value_Is_Replaced_Given_Multiple_Long()
872872 list . Add ( new KeyValuePair < string , string > ( "bb" , "1" ) ) ;
873873 list . Add ( new KeyValuePair < string , string > ( "bb" , "2" ) ) ;
874874
875- var a = new CommandLine . Arguments ( "--bb 1 --bb 2" , list , new List < string > ( ) , GetType ( ) ) ;
875+ var a = CommandLine . Arguments . Parse ( "--bb 1 --bb 2" , GetType ( ) ) ;
876876 var dict = a . ArgumentDictionary ;
877877
878878 Assert . Single ( dict ) ;
@@ -887,7 +887,7 @@ public void Value_Is_Replaced_Given_Mixed_Args_Long_First()
887887 list . Add ( new KeyValuePair < string , string > ( "bb" , "1" ) ) ;
888888 list . Add ( new KeyValuePair < string , string > ( "b" , "2" ) ) ;
889889
890- var a = new CommandLine . Arguments ( "--bb 1 -b 2" , list , new List < string > ( ) , GetType ( ) ) ;
890+ var a = CommandLine . Arguments . Parse ( "--bb 1 -b 2" , GetType ( ) ) ;
891891 var dict = a . ArgumentDictionary ;
892892
893893 Assert . Single ( dict ) ;
@@ -902,7 +902,7 @@ public void Value_Is_Replaced_Given_Mixed_Args_Short_First()
902902 list . Add ( new KeyValuePair < string , string > ( "b" , "1" ) ) ;
903903 list . Add ( new KeyValuePair < string , string > ( "bb" , "2" ) ) ;
904904
905- var a = new CommandLine . Arguments ( "-b 1 --bb 2" , list , new List < string > ( ) , GetType ( ) ) ;
905+ var a = CommandLine . Arguments . Parse ( "-b 1 --bb 2" , GetType ( ) ) ;
906906 var dict = a . ArgumentDictionary ;
907907
908908 Assert . Single ( dict ) ;
@@ -917,7 +917,7 @@ public void Value_Is_Not_Replaced_Given_Mixed_Args_Short_First_No_Type()
917917 list . Add ( new KeyValuePair < string , string > ( "b" , "1" ) ) ;
918918 list . Add ( new KeyValuePair < string , string > ( "bb" , "2" ) ) ;
919919
920- var a = new CommandLine . Arguments ( "-b 1 --bb 2" , list , new List < string > ( ) ) ;
920+ var a = CommandLine . Arguments . Parse ( "-b 1 --bb 2" ) ;
921921 var dict = a . ArgumentDictionary ;
922922
923923 Assert . Equal ( 2 , dict . Count ) ;
0 commit comments