Refactor tests and make them more consistent

This commit is contained in:
Alexey Golub
2019-08-20 12:40:56 +03:00
parent 256b693466
commit 272c079767
10 changed files with 223 additions and 134 deletions

View File

@@ -157,6 +157,14 @@ namespace CliFx.Tests
new[] {"long", "command", "name"},
new CommandInput("long command name")
);
yield return new TestCaseData(
new[] {"long", "command", "name", "--option", "value"},
new CommandInput("long command name", new[]
{
new CommandOptionInput("option", "value")
})
);
}
[Test]