Opened 6 years ago

Closed 6 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: UI/UX:

Description

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 6 years ago.

Download all attachments as: .zip

Change History (2)

Changed 6 years ago by Stephen Kelly

Attachment: garbage.patch added

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

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
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