Opened 8 years ago

Closed 8 years ago

#15100 closed (wontfix)

Tests for garbage input templates

Reported by: Stephen Kelly Owned by: nobody
Component: Template system Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Tests showing that templates which are close to, but not exactly, template syntax are processed correctly as text.

I wrote these while porting the Lexer to a more formally state machine based string processing instead of a regexp based one.

Attachments (1)

garbage.patch (5.7 KB) - added by Stephen Kelly 8 years ago.

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by Stephen Kelly

Attachment: garbage.patch added

comment:1 Changed 8 years ago by Russell Keith-Magee

Resolution: wontfix
Status: newclosed

These might be good tests of a new parsing engine, but I'm not sure I see why they need to be added to trunk now -- they're not especially rigorous tests of the exisiting regex-based parser.

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