Jinja Compat Tests

Enabled engines

min function

Template

{{ min(numbers) }}

Data

{
  "numbers": [1, 3, 2]
}

(error) v1.10.1

Could not parse the remainder: '(numbers)' from 'min(numbers)'

(error) v2.8.0

'min' is undefined

(error) v3.0.6

(no output)

(error) v2.5.0


  Error: Unable to call `min`, which is undefined or falsey

(error) v1.4.2

(no output)

v1.24.2

1

v0.9.5

1

Template

{{ min(mapping) }}

Data

{
  "mapping": {
    "1": "b",
    "2": "e",
    "3": "a",
    "4": "c",
    "5": "d"
  }
}

(error) v1.10.1

Could not parse the remainder: '(mapping)' from 'min(mapping)'

(error) v2.8.0

'min' is undefined

(error) v3.0.6

(no output)

(error) v2.5.0


  Error: Unable to call `min`, which is undefined or falsey

(error) v1.4.2

(no output)

v1.24.2

a

v0.9.5

a

Template

{{ min(1, 3, 2) }}

(error) v1.10.1

Could not parse the remainder: '(1, 3, 2)' from 'min(1, 3, 2)'

(error) v2.8.0

'min' is undefined

(error) v3.0.6

(no output)

(error) v2.5.0


  Error: Unable to call `min`, which is undefined or falsey

(error) v1.4.2

(no output)

v1.24.2

1

v0.9.5

1