Jinja Compat Tests

Enabled engines

math expression

Template

{{ 2 + 3 }}

(error) v1.10.1

Could not parse the remainder: ' + 3' from '2 + 3'

v2.8.0

5

v3.0.6

2

v2.5.0

5

v1.4.2

5

v1.24.2

5

v0.9.5

5

Template

{{ 10/5 }}

(error) v1.10.1

Could not parse the remainder: '/5' from '10/5'

v2.8.0

2.0

(error) v3.0.6

(no output)

v2.5.0

2

v1.4.2

2

v1.24.2

2

v0.9.5

2

Template

{{ 5*2 }}

(error) v1.10.1

Could not parse the remainder: '*2' from '5*2'

v2.8.0

10

(error) v3.0.6

(no output)

v2.5.0

10

v1.4.2

10

v1.24.2

10

v0.9.5

10

Template

{{ 2**3 }}

(error) v1.10.1

Could not parse the remainder: '**3' from '2**3'

v2.8.0

8

(error) v3.0.6

(no output)

v2.5.0

8

(error) v1.4.2

SyntaxError: Unexpected token *.

v1.24.2

8

v0.9.5

8

Template

{{ 5 - 3 }}

(error) v1.10.1

Could not parse the remainder: ' - 3' from '5 - 3'

v2.8.0

2

v3.0.6

5

v2.5.0

2

v1.4.2

2

v1.24.2

2

v0.9.5

2