aboutsummaryrefslogtreecommitdiffstats
path: root/testing (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Changed implementation of precedence rulesLibravatar Lars Erik Rosengren2017-09-032-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.
* Add `join` filter & tests for itLibravatar defyrlt2017-09-022-0/+26
|
* Add test for parent default block implementationsLibravatar Bastien Orivel2017-08-252-2/+3
|
* Simplify Rocket test slightlyLibravatar Dirkjan Ochtman2017-08-241-1/+1
|
* Allow {% block name %} {% endblock name %}Libravatar Bastien Orivel2017-08-241-1/+1
| | | | This makes converting an app from tera to askama easier.
* Add test case for user-defined filtersLibravatar Dirkjan Ochtman2017-08-241-0/+19
|
* Clean up order in Cargo manifestsLibravatar Dirkjan Ochtman2017-08-241-2/+2
|
* Add test for Rocket supportLibravatar Dirkjan Ochtman2017-08-232-0/+39
|
* Add test for Iron supportLibravatar Dirkjan Ochtman2017-08-232-2/+23
|
* Forgot to remove debugging cruft, againLibravatar Dirkjan Ochtman2017-08-231-1/+1
|
* Adding optional json filterLibravatar Anthony Nowell2017-08-233-7/+25
|
* Add test for basic macro useLibravatar Dirkjan Ochtman2017-08-222-0/+21
|
* Change one test case to use source attributeLibravatar Dirkjan Ochtman2017-08-161-1/+1
|
* Add test for variable declarationLibravatar Dirkjan Ochtman2017-08-162-0/+21
|
* Add test for let blocksLibravatar Dirkjan Ochtman2017-08-152-0/+17
|
* Disable debug output for example by defaultLibravatar Dirkjan Ochtman2017-08-101-1/+1
|
* Add README example as a test caseLibravatar Dirkjan Ochtman2017-08-102-0/+19
|
* Forgot to commit test templateLibravatar Dirkjan Ochtman2017-08-101-0/+1
|
* 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-082-2/+2
|
* Add test for include blocks (see #25)Libravatar Dirkjan Ochtman2017-08-043-0/+23
|
* Merge changesLibravatar Dirkjan Ochtman2017-08-022-0/+20
|\
| * Add test for basic chained attributesLibravatar Dirkjan Ochtman2017-05-262-0/+20
| |
* | Add test that starts with a single brace (see #24)Libravatar Dirkjan Ochtman2017-08-022-0/+15
|/
* Remove type parameter defaults from impls (fixes #12)Libravatar Dirkjan Ochtman2017-03-081-1/+2
|
* Add missing template for test_genericsLibravatar Dirkjan Ochtman2017-03-081-0/+1
|
* 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-072-0/+23
|
* Create separate test module for loopsLibravatar Dirkjan Ochtman2017-03-072-15/+18
|
* Hide askama_derive dependency inside askama (fixes #2)Libravatar Dirkjan Ochtman2017-03-065-7/+2
|
* Update version numbers and dependenciesLibravatar Dirkjan Ochtman2017-03-031-3/+3
|
* Add test for commentsLibravatar Dirkjan Ochtman2017-03-032-1/+2
|
* Add test for parenthesized expressionsLibravatar 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-192-2/+2
|
* Add test for handling Option types (with method calls)Libravatar Dirkjan Ochtman2017-02-182-0/+20
|
* Add test for format filterLibravatar Dirkjan Ochtman2017-02-182-0/+14
|
* Add test for attribute supportLibravatar Dirkjan Ochtman2017-02-182-0/+18
|
* Add support for integer literalsLibravatar Dirkjan Ochtman2017-02-171-1/+1
|
* Add test template (forgotten in 1121af3dd0)Libravatar Dirkjan Ochtman2017-02-171-0/+48
|
* Add tests for more binary operatorsLibravatar Dirkjan Ochtman2017-02-172-1/+25
|
* Split comparison tests from other operatorsLibravatar Dirkjan Ochtman2017-02-172-52/+19
|
* Bring back path for iternal dependenciesLibravatar Dirkjan Ochtman2017-02-171-3/+3
|
* Fix askama version in testing crateLibravatar Dirkjan Ochtman2017-02-151-3/+3
|
* Implement support for mul, div, mod operatorsLibravatar Dirkjan Ochtman2017-02-132-1/+10
|
* Rename comparison tests to be about any operatorsLibravatar Dirkjan Ochtman2017-02-132-4/+4
|
* Test support for variables in inherited templatesLibravatar Dirkjan Ochtman2017-02-122-7/+10
|
* 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.