@@ -1625,26 +1625,6 @@ public void Arguments_can_match_the_aliases_of_sibling_options(string input)
16251625 valueForOption . Should ( ) . Be ( "-y" ) ;
16261626 }
16271627
1628- [ Theory ]
1629- [ InlineData ( "/o" ) ]
1630- [ InlineData ( "-o" ) ]
1631- [ InlineData ( "--o" ) ]
1632- [ InlineData ( "/output" ) ]
1633- [ InlineData ( "-output" ) ]
1634- [ InlineData ( "--output" ) ]
1635- public void Option_aliases_can_be_specified_and_are_prefixed_with_defaults ( string input )
1636- {
1637- var option = new Option ( new [ ] { "output" , "o" } ) ;
1638- var configuration = new CommandLineConfiguration (
1639- new [ ] { option } ,
1640- prefixes : new [ ] { "-" , "--" , "/" } ) ;
1641- var parser = new Parser ( configuration ) ;
1642-
1643- ParseResult parseResult = parser . Parse ( input ) ;
1644- parseResult [ "output" ] . Should ( ) . NotBeNull ( ) ;
1645- parseResult [ "o" ] . Should ( ) . NotBeNull ( ) ;
1646- }
1647-
16481628 [ Fact ]
16491629 public void Option_aliases_do_not_need_to_be_prefixed ( )
16501630 {
@@ -1655,27 +1635,6 @@ public void Option_aliases_do_not_need_to_be_prefixed()
16551635 result . HasOption ( option ) . Should ( ) . BeTrue ( ) ;
16561636 }
16571637
1658- [ Theory ]
1659- [ InlineData ( "/o" ) ]
1660- [ InlineData ( "-o" ) ]
1661- [ InlineData ( "--output" ) ]
1662- [ InlineData ( "--out" ) ]
1663- [ InlineData ( "-out" ) ]
1664- [ InlineData ( "/out" ) ]
1665- public void Option_aliases_can_be_specified_for_particular_prefixes ( string input )
1666- {
1667- var option = new Option ( new [ ] { "--output" , "-o" , "/o" , "out" } ) ;
1668- var configuration = new CommandLineConfiguration (
1669- new [ ] { option } ,
1670- prefixes : new [ ] { "-" , "--" , "/" } ) ;
1671- var parser = new Parser ( configuration ) ;
1672-
1673- ParseResult parseResult = parser . Parse ( input ) ;
1674- parseResult [ "o" ] . Should ( ) . NotBeNull ( ) ;
1675- parseResult [ "out" ] . Should ( ) . NotBeNull ( ) ;
1676- parseResult [ "output" ] . Should ( ) . NotBeNull ( ) ;
1677- }
1678-
16791638 [ Fact ]
16801639 public void Boolean_options_with_no_argument_specified_do_not_match_subsequent_arguments ( )
16811640 {
0 commit comments