mirror of
https://github.com/jlengrand/bugsink.git
synced 2026-03-10 08:01:17 +00:00
Fix bug with pygmentize and just-newline lines
This commit is contained in:
@@ -49,3 +49,6 @@ class TestIssuesTemplateTags(TestCase):
|
||||
|
||||
def test_pygmentize_lines_newline_in_code(self):
|
||||
_pygmentize_lines(["print('hello world')\n"])
|
||||
|
||||
def test_pygmentize_lines_newline_on_otherwise_empty_line(self):
|
||||
_pygmentize_lines(["\n", "\n", "\n"])
|
||||
|
||||
Reference in New Issue
Block a user