@@ -42,10 +42,10 @@ public void Outer_command_is_identified_correctly_by_Parent_property()
4242 var result = _outerCommand . Parse ( "outer inner --option argument1" ) ;
4343
4444 result
45- . CommandResult
45+ . CommandResultInternal
4646 . Parent
4747 . Should ( )
48- . BeOfType < CommandResult > ( )
48+ . BeOfType < CommandResultInternal > ( )
4949 . Which
5050 . Command
5151 . Name
@@ -58,9 +58,9 @@ public void Inner_command_is_identified_correctly()
5858 {
5959 var result = _outerCommand . Parse ( "outer inner --option argument1" ) ;
6060
61- result . CommandResult
61+ result . CommandResultInternal
6262 . Should ( )
63- . BeOfType < CommandResult > ( )
63+ . BeOfType < CommandResultInternal > ( )
6464 . Which
6565 . Command
6666 . Name
@@ -73,7 +73,7 @@ public void Inner_command_option_is_identified_correctly()
7373 {
7474 var result = _outerCommand . Parse ( "outer inner --option argument1" ) ;
7575
76- result . CommandResult
76+ result . CommandResultInternal
7777 . Children
7878 . ElementAt ( 0 )
7979 . Should ( )
@@ -90,7 +90,7 @@ public void Inner_command_option_argument_is_identified_correctly()
9090 {
9191 var result = _outerCommand . Parse ( "outer inner --option argument1" ) ;
9292
93- result . CommandResult
93+ result . CommandResultInternal
9494 . Children
9595 . ElementAt ( 0 )
9696 . Tokens
@@ -114,14 +114,14 @@ public void Commands_at_multiple_levels_can_have_their_own_arguments()
114114
115115 var result = outer . Parse ( "outer arg1 inner arg2 arg3" ) ;
116116
117- result . CommandResult
117+ result . CommandResultInternal
118118 . Parent
119119 . Tokens
120120 . Select ( t => t . Value )
121121 . Should ( )
122122 . BeEquivalentTo ( "arg1" ) ;
123123
124- result . CommandResult
124+ result . CommandResultInternal
125125 . Tokens
126126 . Select ( t => t . Value )
127127 . Should ( )
@@ -200,7 +200,7 @@ public void ParseResult_Command_identifies_innermost_command(string input, strin
200200
201201 var result = outer . Parse ( input ) ;
202202
203- result . CommandResult . Command . Name . Should ( ) . Be ( expectedCommand ) ;
203+ result . CommandResultInternal . Command . Name . Should ( ) . Be ( expectedCommand ) ;
204204 }
205205
206206 [ Fact ]
@@ -214,7 +214,7 @@ public void Commands_can_have_aliases()
214214
215215 var result = command . Parse ( "that" ) ;
216216
217- result . CommandResult . Command . Should ( ) . BeSameAs ( command ) ;
217+ result . CommandResultInternal . Command . Should ( ) . BeSameAs ( command ) ;
218218 result . Errors . Should ( ) . BeEmpty ( ) ;
219219 }
220220
@@ -228,7 +228,7 @@ public void RootCommand_can_have_aliases()
228228
229229 var result = command . Parse ( "that" ) ;
230230
231- result . CommandResult . Command . Should ( ) . BeSameAs ( command ) ;
231+ result . CommandResultInternal . Command . Should ( ) . BeSameAs ( command ) ;
232232 result . Errors . Should ( ) . BeEmpty ( ) ;
233233 }
234234
@@ -245,7 +245,7 @@ public void Subcommands_can_have_aliases()
245245
246246 var result = rootCommand . Parse ( "that" ) ;
247247
248- result . CommandResult . Command . Should ( ) . BeSameAs ( subcommand ) ;
248+ result . CommandResultInternal . Command . Should ( ) . BeSameAs ( subcommand ) ;
249249 result . Errors . Should ( ) . BeEmpty ( ) ;
250250 }
251251
0 commit comments