aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_base.py
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-10-14 18:53:48 -0700
committerGravatar MarkKoz <[email protected]>2020-10-14 18:53:48 -0700
commitd277ac6d3444bed43f921ee95f79255033e367ba (patch)
treefdcc7788fd82cd412ced8e32f1953e840cb8b8fe /tests/test_base.py
parentMerge pull request #886 from python-discord/bug/utility/829/non-py-code-detec... (diff)
Code block: fix _fix_indentation failing for line counts of 1
This could be reproduced by editing a tracked message to a single line of invalid Python that lacks any back ticks. The code was assuming there would be multiple lines because that's what the default value for the threshold is, but this threshold is not applied to edited messages. Fixes BOT-A5
Diffstat (limited to 'tests/test_base.py')
0 files changed, 0 insertions, 0 deletions