aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-09-14Fix operator preference at loop.firstLibravatar bott1-0/+14
2018-09-07Fix deep nested imports in macro callsLibravatar bott1-0/+10
2018-09-02Add test for nested macro calls into different scopeLibravatar bott1-0/+10
2018-07-22Work around conflicting dependencies for actix-web and rocketLibravatar Dirkjan Ochtman2-1/+2
2018-07-22Add Template method to return template extensionLibravatar Dirkjan Ochtman1-0/+1
Thanks to Ryan McGrath for the suggestion and initial implementation.
2018-07-22Tests for actix_webLibravatar Ryan McGrath1-0/+29
2018-07-04Add test for unit structs (see #101)Libravatar Dirkjan Ochtman1-0/+9
2018-07-02Remove accidentally committed debugging cruftLibravatar Dirkjan Ochtman1-1/+1
2018-06-25Add test for 'truncate' filterLibravatar Dirkjan Ochtman1-0/+14
2018-06-25Add test for 'loop.first' variableLibravatar Dirkjan Ochtman1-1/+1
2018-06-23Add test for range operatorsLibravatar Dirkjan Ochtman1-0/+14
2018-06-23Remove accidental debugging cruftLibravatar Dirkjan Ochtman1-1/+1
2018-06-23Add test for Index operationLibravatar Dirkjan Ochtman1-0/+16
2018-06-22Add test for 'super' macroLibravatar Dirkjan Ochtman1-0/+6
2018-06-22Fix formatting with cargo fmtLibravatar Dirkjan Ochtman1-21/+33
2018-06-22Add test for flattened deep inheritanceLibravatar Dirkjan Ochtman1-0/+92
2018-06-22Add test for deep inheritanceLibravatar Dirkjan Ochtman1-0/+92
2018-06-21Fix formatting with cargo fmtLibravatar Dirkjan Ochtman10-52/+64
2018-05-27Reformat and rename method testing tests for better organizationLibravatar Dirkjan Ochtman1-13/+14
2018-05-27Add tests for calling methods on selfLibravatar Mika Lehtinen1-0/+42
2018-05-21Remove forgotten debugging cruftLibravatar Dirkjan Ochtman1-2/+2
2018-05-20Add support for nested blocks (fixes #85)Libravatar Dirkjan Ochtman1-0/+18
2018-04-27Add test for unary - operatorLibravatar Dirkjan Ochtman1-0/+13
2018-04-27Add test for ! operator (see #83)Libravatar Dirkjan Ochtman1-0/+13
2018-04-19Add test for filter in let statementLibravatar Dirkjan Ochtman1-0/+22
2018-04-17Properly handle whitespace around comments (fixes #79)Libravatar Dirkjan Ochtman1-0/+11
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 Ochtman1-0/+12
2018-04-02Fix whitespace handling for include blocks (fixes #69)Libravatar Dirkjan Ochtman1-1/+1
2018-01-19infer Content-type from the file extension for iron integrationLibravatar Hajime Fukuda1-0/+20
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 Nowell1-0/+19
2017-11-02Make match ref/deref as neededLibravatar Anthony Nowell1-0/+27
Much of this can be yanked out and made simpler when match-modes lands in stable
2017-11-02support literals in match armsLibravatar Anthony Nowell1-6/+26
2017-11-02implement basic match functionalityLibravatar Anthony Nowell1-0/+18
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-04Add test for path expressions (see #56)Libravatar Dirkjan Ochtman1-0/+18
2017-10-01Fix whitespace handling for macros and imports (#55)Libravatar larros1-1/+1
Resolves https://github.com/djc/askama/issues/52. * Fix of review comments
2017-09-26Add support for importing template files with macros (#51)Libravatar larros1-0/+12
* Fix review comments for macro imports
2017-09-10Add support for tuple indexing in templatesLibravatar Lars Erik Rosengren1-0/+12
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 Rosengren1-0/+15
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.