aboutsummaryrefslogtreecommitdiffstats
path: root/testing (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-04-17Add test for nested filters with references (see #76)Libravatar Dirkjan Ochtman1-0/+18
2018-04-12Handle a lack of whitespace after match block (fixes #76)Libravatar Dirkjan Ochtman2-0/+13
2018-04-02Fix whitespace handling for include blocks (fixes #69)Libravatar Dirkjan Ochtman2-2/+2
2018-01-29`build = "build.rs"` is no longer necessaryLibravatar Paul Woolcock1-1/+0
For all rust versions >= 1.19, cargo will assume `build = "build.rs"` if it sees a `build.rs` file in the same directory as the `Cargo.toml`
2018-01-19infer Content-type from the file extension for iron integrationLibravatar Hajime Fukuda2-0/+21
2018-01-05relax the version specificationLibravatar Hajime Fukuda1-1/+1
2017-12-25Add test case for cross-module inheritanceLibravatar Dirkjan Ochtman1-0/+29
2017-11-21Apply suggestions from rustfmt to improve styleLibravatar Dirkjan Ochtman7-29/+32
2017-11-02Support matching custom enumsLibravatar Anthony Nowell2-0/+27
2017-11-02Make match ref/deref as neededLibravatar Anthony Nowell2-0/+33
Much of this can be yanked out and made simpler when match-modes lands in stable
2017-11-02support literals in match armsLibravatar Anthony Nowell3-6/+36
2017-11-02implement basic match functionalityLibravatar Anthony Nowell2-0/+24
2017-10-22Make empty string literals workLibravatar Dirkjan Ochtman1-2/+2
2017-10-20Add support for array literals (fixes #59)Libravatar Dirkjan Ochtman1-0/+11
2017-10-15Add scope when importing macrosLibravatar Lars Erik Rosengren1-2/+2
2017-10-04Add test for path expressions (see #56)Libravatar Dirkjan Ochtman1-0/+18
2017-10-01Fix whitespace handling for macros and imports (#55)Libravatar larros3-7/+17
Resolves https://github.com/djc/askama/issues/52. * Fix of review comments
2017-09-26Add support for importing template files with macros (#51)Libravatar larros2-0/+14
* Fix review comments for macro imports
2017-09-10Add support for tuple indexing in templatesLibravatar Lars Erik Rosengren2-0/+13
2017-09-07Extend escaping according to OWASP recommendationsLibravatar Dirkjan Ochtman1-3/+4
2017-09-07Move JSON test into filters test moduleLibravatar Dirkjan Ochtman2-28/+31
2017-09-07Move escaping tests into a separate moduleLibravatar Dirkjan Ochtman1-52/+0
2017-09-07Add test case for inferred escape modeLibravatar Dirkjan Ochtman1-0/+13
2017-09-07Make ext attribute mandatory for source-specified templatesLibravatar Dirkjan Ochtman3-5/+5
2017-09-05Add some tests for escaping functionalityLibravatar Dirkjan Ochtman1-0/+39
2017-09-04Moved precedence test into operators moduleLibravatar Dirkjan Ochtman2-15/+11
2017-09-03Changed implementation of precedence rulesLibravatar Lars Erik Rosengren2-0/+22
This implementation resolves djc/askama#44 by changing the precedence implementation. The previous solution was very slow because it had to try to parse all combinations of precedence layers leading to 2^9 iterations for each expr_any. This is solved by reusing the left operand instead of reparsing it when the operator isn't found. This implementation also solves another related issue that expressions with multiple operators couldn't be parsed, for example {{1 * 2 * 3}}. This is handled by using expr_any for the right operand instead of only using higher level precedence layers.
2017-09-02Add `join` filter & tests for itLibravatar defyrlt2-0/+26
2017-08-25Add test for parent default block implementationsLibravatar Bastien Orivel2-2/+3
2017-08-24Simplify Rocket test slightlyLibravatar Dirkjan Ochtman1-1/+1
2017-08-24Allow {% block name %} {% endblock name %}Libravatar Bastien Orivel1-1/+1
This makes converting an app from tera to askama easier.
2017-08-24Add test case for user-defined filtersLibravatar Dirkjan Ochtman1-0/+19
2017-08-24Clean up order in Cargo manifestsLibravatar Dirkjan Ochtman1-2/+2
2017-08-23Add test for Rocket supportLibravatar Dirkjan Ochtman2-0/+39
2017-08-23Add test for Iron supportLibravatar Dirkjan Ochtman2-2/+23
2017-08-23Forgot to remove debugging cruft, againLibravatar Dirkjan Ochtman1-1/+1
2017-08-23Adding optional json filterLibravatar Anthony Nowell3-7/+25
2017-08-22Add test for basic macro useLibravatar Dirkjan Ochtman2-0/+21
2017-08-16Change one test case to use source attributeLibravatar Dirkjan Ochtman1-1/+1
2017-08-16Add test for variable declarationLibravatar Dirkjan Ochtman2-0/+21
2017-08-15Add test for let blocksLibravatar Dirkjan Ochtman2-0/+17
2017-08-10Disable debug output for example by defaultLibravatar Dirkjan Ochtman1-1/+1
2017-08-10Add README example as a test caseLibravatar Dirkjan Ochtman2-0/+19
2017-08-10Forgot to commit test templateLibravatar Dirkjan Ochtman1-0/+1
2017-08-10Implement Display for all TemplatesLibravatar Dirkjan Ochtman1-0/+13
2017-08-10Propagate format errors and rename `render_to()` to `render_into()`Libravatar Dirkjan Ochtman6-23/+23
2017-08-08Add test for deref implementation (see #28)Libravatar Dirkjan Ochtman2-2/+2
2017-08-04Add test for include blocks (see #25)Libravatar Dirkjan Ochtman3-0/+23
2017-08-02Add test that starts with a single brace (see #24)Libravatar Dirkjan Ochtman2-0/+15
2017-05-26Add test for basic chained attributesLibravatar Dirkjan Ochtman2-0/+20