Fix arguments order in blowfish_test.go require.Equal assertion
This commit is contained in:
parent
6232acb3ed
commit
7c385ae0bf
1 changed files with 2 additions and 2 deletions
|
@ -39,11 +39,11 @@ func TestBlowfish(t *testing.T) {
|
|||
|
||||
b.Encrypt(out[:], in[:])
|
||||
binary.BigEndian.PutUint64(expected[:], testCase.enc)
|
||||
require.Equal(t, out, expected)
|
||||
require.Equal(t, expected, out)
|
||||
|
||||
b.Decrypt(out[:], in[:])
|
||||
binary.BigEndian.PutUint64(expected[:], testCase.dec)
|
||||
require.Equal(t, out, expected)
|
||||
require.Equal(t, expected, out)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue