aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Moved precedence test into operators moduleLibravatar Dirkjan Ochtman2017-09-042-15/+11
|
* Changed implementation of precedence rulesLibravatar Lars Erik Rosengren2017-09-031-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.
* Add `join` filter & tests for itLibravatar defyrlt2017-09-021-0/+25
|
* Add test for parent default block implementationsLibravatar Bastien Orivel2017-08-251-2/+2
|
* Simplify Rocket test slightlyLibravatar Dirkjan Ochtman2017-08-241-1/+1
|
* Add test case for user-defined filtersLibravatar Dirkjan Ochtman2017-08-241-0/+19
|
* Add test for Rocket supportLibravatar Dirkjan Ochtman2017-08-231-0/+33
|
* Add test for Iron supportLibravatar Dirkjan Ochtman2017-08-231-0/+20
|
* Forgot to remove debugging cruft, againLibravatar Dirkjan Ochtman2017-08-231-1/+1
|
* Adding optional json filterLibravatar Anthony Nowell2017-08-231-4/+18
|
* Add test for basic macro useLibravatar Dirkjan Ochtman2017-08-221-0/+16
|
* Change one test case to use source attributeLibravatar Dirkjan Ochtman2017-08-161-1/+1
|
* Add test for variable declarationLibravatar Dirkjan Ochtman2017-08-161-0/+14
|
* Add test for let blocksLibravatar Dirkjan Ochtman2017-08-151-0/+16
|
* Disable debug output for example by defaultLibravatar Dirkjan Ochtman2017-08-101-1/+1
|
* Add README example as a test caseLibravatar Dirkjan Ochtman2017-08-101-0/+18
|
* Implement Display for all TemplatesLibravatar Dirkjan Ochtman2017-08-101-0/+13
|
* Propagate format errors and rename `render_to()` to `render_into()`Libravatar Dirkjan Ochtman2017-08-106-23/+23
|
* Add test for deref implementation (see #28)Libravatar Dirkjan Ochtman2017-08-081-1/+1
|
* Add test for include blocks (see #25)Libravatar Dirkjan Ochtman2017-08-041-0/+19
|
* Merge changesLibravatar Dirkjan Ochtman2017-08-021-0/+19
|\
| * Add test for basic chained attributesLibravatar Dirkjan Ochtman2017-05-261-0/+19
| |
* | Add test that starts with a single brace (see #24)Libravatar Dirkjan Ochtman2017-08-021-0/+14
|/
* Remove type parameter defaults from impls (fixes #12)Libravatar Dirkjan Ochtman2017-03-081-1/+2
|
* Add test for type parameters and where clauses (see #9)Libravatar Dirkjan Ochtman2017-03-081-0/+14
|
* Remove debugging cruft from test_nested_forLibravatar Dirkjan Ochtman2017-03-071-1/+1
|
* Add test for nested loops and loops over slices (see #6, #7, #9)Libravatar Dirkjan Ochtman2017-03-071-0/+17
|
* Create separate test module for loopsLibravatar Dirkjan Ochtman2017-03-072-15/+18
|
* Hide askama_derive dependency inside askama (fixes #2)Libravatar Dirkjan Ochtman2017-03-064-6/+2
|
* Add test for commentsLibravatar Dirkjan Ochtman2017-03-031-1/+1
|
* Discard trailing newlines from templates by defaultLibravatar Dirkjan Ochtman2017-03-034-14/+14
| | | | This matches Jinja's behavior, and seems sensible.
* Add basic test for loop variablesLibravatar Dirkjan Ochtman2017-02-191-1/+1
|
* Add test for handling Option types (with method calls)Libravatar Dirkjan Ochtman2017-02-181-0/+15
|
* Add test for format filterLibravatar Dirkjan Ochtman2017-02-181-0/+13
|
* Add test for attribute supportLibravatar Dirkjan Ochtman2017-02-181-0/+17
|
* Add tests for more binary operatorsLibravatar Dirkjan Ochtman2017-02-171-1/+1
|
* Split comparison tests from other operatorsLibravatar Dirkjan Ochtman2017-02-171-1/+16
|
* Implement support for mul, div, mod operatorsLibravatar Dirkjan Ochtman2017-02-131-1/+1
|
* Rename comparison tests to be about any operatorsLibravatar Dirkjan Ochtman2017-02-131-4/+4
|
* Test support for variables in inherited templatesLibravatar Dirkjan Ochtman2017-02-121-7/+9
|
* Explicitly pass trait implementation to top-level base template methodLibravatar Dirkjan Ochtman2017-02-121-2/+4
| | | | | This requires a base template struct to be a member of the derived template's context, but allows the base template to access base template fields.
* Add test for using base template directlyLibravatar Dirkjan Ochtman2017-02-121-0/+6
|
* Implement basic support for template inheritanceLibravatar Dirkjan Ochtman2017-02-051-0/+19
|
* Add test for string literalsLibravatar Dirkjan Ochtman2017-02-051-0/+11
|
* Add tests for all 6 comparison operatorsLibravatar Dirkjan Ochtman2017-02-041-5/+5
|
* Add test for == operatorLibravatar Dirkjan Ochtman2017-02-041-0/+19
|
* Use &str instead of String for test casesLibravatar Dirkjan Ochtman2017-02-041-6/+6
|
* Add basic support for loopsLibravatar Dirkjan Ochtman2017-02-041-0/+15
|
* Remove unneeded feature(proc_macro) annotationLibravatar Dirkjan Ochtman2017-02-022-4/+0
|
* Use 'else if' instead of 'elif' to align more with RustLibravatar Dirkjan Ochtman2017-01-121-4/+4
|