diff options
| author | 2020-10-14 18:53:48 -0700 | |
|---|---|---|
| committer | 2020-10-14 18:53:48 -0700 | |
| commit | d277ac6d3444bed43f921ee95f79255033e367ba (patch) | |
| tree | fdcc7788fd82cd412ced8e32f1953e840cb8b8fe /tests | |
| parent | Merge 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')
0 files changed, 0 insertions, 0 deletions