summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Flint <[email protected]>2019-04-30 13:53:14 -0700
committerAlex Flint <[email protected]>2019-04-30 13:53:14 -0700
commit15b9bcfbb4af9e491c1aeab36d71f60f60c6e7ea (patch)
tree247f57bb962a234d1d00eb3b2d5a9ce37c09c81a
parent39decf197fbf257081eee533974412140d7364e2 (diff)
add several subcommand unittests
-rw-r--r--subcommand_test.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/subcommand_test.go b/subcommand_test.go
index 6df3147..25689a4 100644
--- a/subcommand_test.go
+++ b/subcommand_test.go
@@ -160,3 +160,11 @@ func TestSubcommandsWithOptions(t *testing.T) {
assert.Equal(t, args.Get.Name, "test")
}
}
+
+func TestNestedSubcommands(t *testing.T) {
+ // tree of subcommands
+}
+
+func TestSubcommandsWithPositionals(t *testing.T) {
+ // subcommands with positional arguments
+}