You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yaml treats a whole bunch of different tokens as a boolean value. For example both true and True has the semantic meaning of boolean true. However, when comparing two files with differing ways to encode the same boolean value.
Expected outcome: different encodings of the same boolean value should be treated the same
Actual outcome: only boolean values with identical textual representation are treated the same
See for example the following example:
$ cat left.yaml
---
key: True
$ cat right.yaml
---
key: true
$ dyff between left.yaml right.yaml
_ __ __
_||_ _ / _|/ _| between left.yaml
/ _' | | | | |_| |_ and right.yaml| (_| | |_| | _| _| \__,_|\__, |_| |_| returned one difference |___/key ± value change - True + true
The text was updated successfully, but these errors were encountered:
nresare
added a commit
to nresare/dyff
that referenced
this issue
Jan 11, 2024
yaml treats a whole bunch of different tokens as a boolean value. For example both
true
andTrue
has the semantic meaning of boolean true. However, when comparing two files with differing ways to encode the same boolean value.Expected outcome: different encodings of the same boolean value should be treated the same
Actual outcome: only boolean values with identical textual representation are treated the same
See for example the following example:
The text was updated successfully, but these errors were encountered: