duster/js/test_cases/helpers_eq
Tom Alexander 978bbe6eb3
Implemented float literals for OwnedLiterals, not yet for serde_json.
2020-06-13 13:37:26 -04:00
..
README.md Add tests for copied values. 2020-05-16 14:48:04 -04:00
input1.json Add tests for copied values. 2020-05-16 14:48:04 -04:00
main.dust Implemented float literals for OwnedLiterals, not yet for serde_json. 2020-06-13 13:37:26 -04:00

README.md

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.