Skip to content

Commit 39d45e3

Browse files
committed
wip
1 parent e50a75d commit 39d45e3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/System.CommandLine.Tests/OptionTests.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,14 @@ public void Option_T_Argument_cannot_be_set_to_Argument_of_incorrect_type(Type a
286286
.Be($"Argument must be of type {typeof(Argument<int>)} but was {argument.GetType()}");
287287
}
288288

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+
289297
protected override Symbol CreateSymbol(string name) => new Option(name);
290298
}
291299
}

0 commit comments

Comments
 (0)