transmissions11/solmate

Test for ```testFromLast20Bytes``` in ```src/test/Bytes32AddressLib.t.sol``` looks incorrect

malik672 opened this issue · 0 comments

the test fails for

  function fromLast20Byte(bytes32 bytesValue)
        external
        pure
        returns (address _result)
    {
        assembly {
            _result := shr(
                96,
                bytesValue
            )
        }
    }

which should obviously pass, i took a look at the test and i could not understand it and it made no sense