issues
search
trufflesuite
/
truffle-core
Core code for Truffle command line tool
MIT License
93
stars
93
forks
source link
[BugFix] Assert.sol - notEqual broken for list types, fixes #101
#102
Closed
sabhiram
closed
6 years ago
sabhiram
commented
6 years ago
Ref: #101
The function is incorrect when the arrays are of the same length and have completly different values.
It will also fail when the first values in both arrays match regardless of the other values (for length > 1).
This fix applies the
equals
logic and negates it before reporting and returning a boolean.
sabhiram
commented
6 years ago
Sweet! 👍
Ref: #101
equals
logic and negates it before reporting and returning a boolean.