You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tom Alexander e0fe7475c5
Add a single element array test for idx_and_len.
This test is mostly because I am currently turning truthy values into single element arrays during render, so I need to make sure idx and len and not being set for non-array iteration.
4 years ago
..
README.md Add a test for $idx and $len. 4 years ago
array.json Add a test for $idx and $len. 4 years ago
false.json Add a test for $idx and $len. 4 years ago
main.dust Add a test for $idx and $len. 4 years ago
number.json Add a test for $idx and $len. 4 years ago
single_element_array.json Add a single element array test for idx_and_len. 4 years ago
string.json Add a test for $idx and $len. 4 years ago

README.md

$idx and $len seem to only be valid inside sections iterating over arrays, but nothing else.