Skip to content

Commit a8b0a33

Browse files
committed
test no subcommand works
1 parent eb39177 commit a8b0a33

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/cmd/nosubcommand.trycmd

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
When we don't have a subcommand, we should get the help:
2+
3+
```
4+
$ humility
5+
? failed
6+
humility failed: subcommand expected (--help to list)
7+
8+
```

0 commit comments

Comments
 (0)