File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Utility.CommandLine.Arguments.Tests Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ public void ParseDashedOperand()
207207 [ Fact ]
208208 public void ParseEmpty ( )
209209 {
210- Exception ex = Record . Exception ( ( ) => CommandLine . Arguments . Parse ( ) ) ;
210+ Exception ex = Record . Exception ( ( ) => CommandLine . Arguments . Parse ( string . Empty ) ) ;
211211
212212 Assert . Null ( ex ) ;
213213 }
@@ -270,6 +270,17 @@ public void ParseMultipleQuotes()
270270 Assert . Equal ( "4" , test [ "test4" ] ) ;
271271 }
272272
273+ /// <summary>
274+ /// Tests the <see cref="Utility.CommandLine.Arguments.Parse(string)"/> method with no argument.
275+ /// </summary>
276+ [ Fact ]
277+ public void ParseNoArgument ( )
278+ {
279+ Exception ex = Record . Exception ( ( ) => CommandLine . Arguments . Parse ( ) ) ;
280+
281+ Assert . Null ( ex ) ;
282+ }
283+
273284 /// <summary>
274285 /// Tests the <see cref="Utility.CommandLine.Arguments.Parse(string)"/> method with a null argument.
275286 /// </summary>
You can’t perform that action at this time.
0 commit comments