diff options
| -rw-r--r-- | tests/bot/cogs/test_cogs.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bot/cogs/test_cogs.py b/tests/bot/cogs/test_cogs.py index 616f5f44a..cbd203786 100644 --- a/tests/bot/cogs/test_cogs.py +++ b/tests/bot/cogs/test_cogs.py @@ -46,7 +46,7 @@ class CommandNameTests(unittest.TestCase):      @staticmethod      def get_qualified_names(command: commands.Command) -> t.List[str]:          """Return a list of all qualified names, including aliases, for the `command`.""" -        names = [f"{command.full_parent_name} {alias}" for alias in command.aliases] +        names = [f"{command.full_parent_name} {alias}".strip() for alias in command.aliases]          names.append(command.qualified_name)          return names  |