Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#2397 closed defect (fixed)

[patch] Markdown test fails

Reported by: shields@… Owned by: Adrian Holovaty
Component: Testing framework Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


With markdown 1.5 installed, django (trunk rev 3419) fails its markdown tests, because of (non-semantic) whitespace changes. This was also an issue in #1632. Here is a patch to make the test more lenient.

Attachments (1)

2397.patch (771 bytes) - added by shields@… 12 years ago.

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by shields@…

Attachment: 2397.patch added

comment:1 Changed 12 years ago by shields@…

Summary: Markdown test fails[patch] Markdown test fails

comment:2 Changed 12 years ago by Malcolm Tredinnick

Good idea. I've been seeing this failure for a while and have been to lazy to fix it. Needed to tweak the patch slightly to allow for spaces after the "h2" element as well, but it's generally fine.

comment:3 Changed 12 years ago by Malcolm Tredinnick

Resolution: fixed
Status: newclosed

(In [3420]) Fixed #2397 -- fixed markdown test to be a bit more lenient in what counts as a
pass due to whitespace differences between markdown versions. Thanks to
shields@… for the patch.

Note: See TracTickets for help on using tickets.
Back to Top