mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 10:50:44 +00:00
common/hexutil: remove redundant conversion (#21903)
This commit is contained in:
parent
28739d7863
commit
dd318fc563
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ func TestUnmarshalBytes(t *testing.T) {
|
||||||
if !checkError(t, test.input, err, test.wantErr) {
|
if !checkError(t, test.input, err, test.wantErr) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if !bytes.Equal(test.want.([]byte), []byte(v)) {
|
if !bytes.Equal(test.want.([]byte), v) {
|
||||||
t.Errorf("input %s: value mismatch: got %x, want %x", test.input, &v, test.want)
|
t.Errorf("input %s: value mismatch: got %x, want %x", test.input, &v, test.want)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue