mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-02-09 15:27:11 +00:00
lib/storage: typo fix: umarshal -> unmarshal
This commit is contained in:
parent
062211c61c
commit
4de4da1e2a
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ func testBlockHeaderMarshalUnmarshal(t *testing.T, bh *blockHeader) {
|
||||||
var bh1 blockHeader
|
var bh1 blockHeader
|
||||||
tail, err := bh1.Unmarshal(dst)
|
tail, err := bh1.Unmarshal(dst)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("cannot umarshal bh=%+v from dst=%x: %s", bh, dst, err)
|
t.Fatalf("cannot unmarshal bh=%+v from dst=%x: %s", bh, dst, err)
|
||||||
}
|
}
|
||||||
if len(tail) > 0 {
|
if len(tail) > 0 {
|
||||||
t.Fatalf("unexpected tail left after unmarshaling of bh=%+v: %x", bh, tail)
|
t.Fatalf("unexpected tail left after unmarshaling of bh=%+v: %x", bh, tail)
|
||||||
|
|
Loading…
Reference in a new issue