duster/js/test_cases/helpers_eq
2020-05-23 22:41:12 -04:00
..
input1.json Add tests for copied values. 2020-05-16 14:48:04 -04:00
main.dust Remove the headers to the dust helper tests because they were misleading. 2020-05-23 22:41:12 -04:00
README.md Add tests for copied values. 2020-05-16 14:48:04 -04:00

Without a key parameter, neither the main block nor the else block is rendered.

Literal values work in both keys and values.

Can't Walk Theory

Assuming a missing value = cantwalk and a non-existent key = cantwalk then their equality makes sense.

The null tests have proven that absent parameters and missing values do not equal null and therefore it is not just making all falsey values equal.

Non-Scalar Values

For non-scalar values, it seems that dust does mark two values as true if they have the same path, but otherwise they are not equal.