We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e50a75d commit 39d45e3Copy full SHA for 39d45e3
src/System.CommandLine.Tests/OptionTests.cs
@@ -286,6 +286,14 @@ public void Option_T_Argument_cannot_be_set_to_Argument_of_incorrect_type(Type a
286
.Be($"Argument must be of type {typeof(Argument<int>)} but was {argument.GetType()}");
287
}
288
289
+ [Fact]
290
+ public void Option_T_default_value_can_be_set()
291
+ {
292
+ var option = new Option<int>("-x", parseArgument: parsed => , isDefault: );
293
+
294
+ throw new NotImplementedException("test not written");
295
+ }
296
297
protected override Symbol CreateSymbol(string name) => new Option(name);
298
299
0 commit comments