The practical result is that I had a file for which a line containing a single number had zeros added to the start, but the differ reported that there was no difference.
It seems this is just a matter of changing the == that is used when comparing input values to ===.
results in:
but it should result in:
because
'5'
and'05'
are not the same.The practical result is that I had a file for which a line containing a single number had zeros added to the start, but the differ reported that there was no difference.
It seems this is just a matter of changing the
==
that is used when comparing input values to===
.