askama/testing/tests/ui/loop_cycle_wrong_argument_count.stderr
2024-07-30 14:04:19 +02:00

8 lines
381 B
Plaintext

error: loop.cycle(…) cannot use an empty array
--> ForCycle.txt:1:28
".cycle(\"r\", \"g\", \"b\") }}{{ v }},{% endfor %}"
--> tests/ui/loop_cycle_wrong_argument_count.rs:5:14
|
5 | source = r#"{% for v in values %}{{ loop.cycle("r", "g", "b") }}{{ v }},{% endfor %}"#,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^