Opened 15 years ago
Closed 15 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 |
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)
Change History (2)
by , 15 years ago
| Attachment: | garbage.patch added |
|---|
comment:1 by , 15 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
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.