Skip to content

Commit f8d032f

Browse files
committed
Fixed aliases type in test.
1 parent caac18e commit f8d032f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_commandset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def do_main(self, args: argparse.Namespace) -> None:
9999
subcmd_parser = cmd2.Cmd2ArgumentParser(description="Sub Command")
100100

101101
# Include aliases to cover the alias check in cmd2's check_parser_uninstallable().
102-
@cmd2.as_subcommand_to('main', 'sub', subcmd_parser, help="sub command", aliases="sub_alias")
102+
@cmd2.as_subcommand_to('main', 'sub', subcmd_parser, help="sub command", aliases=["sub_alias"])
103103
def subcmd_func(self, args: argparse.Namespace) -> None:
104104
self._cmd.poutput("Subcommand Ran")
105105

0 commit comments

Comments
 (0)