lib/{encoding,decimal}: typo fixes in tests: epxecting->expecting

This commit is contained in:
Aliaksandr Valialkin 2020-04-28 00:01:44 +03:00
parent 806dc73d8a
commit 2aecf7c37c
2 changed files with 2 additions and 2 deletions

View file

@ -164,7 +164,7 @@ func TestMaxUpExponent(t *testing.T) {
e := maxUpExponent(v) e := maxUpExponent(v)
if e != eExpected { if e != eExpected {
t.Fatalf("unexpected e for v=%d; got %d; epxecting %d", v, e, eExpected) t.Fatalf("unexpected e for v=%d; got %d; expecting %d", v, e, eExpected)
} }
e = maxUpExponent(-v) e = maxUpExponent(-v)
if e != eExpected { if e != eExpected {

View file

@ -214,6 +214,6 @@ func testMarshalInt64ArraySize(t *testing.T, va []int64, precisionBits uint8, mi
t.Fatalf("too big size for marshaled %d items with precisionBits %d: got %d; expecting %d", len(va), precisionBits, len(b), maxSizeExpected) t.Fatalf("too big size for marshaled %d items with precisionBits %d: got %d; expecting %d", len(va), precisionBits, len(b), maxSizeExpected)
} }
if len(b) < minSizeExpected { if len(b) < minSizeExpected {
t.Fatalf("too small size for marshaled %d items with precisionBits %d: got %d; epxecting %d", len(va), precisionBits, len(b), minSizeExpected) t.Fatalf("too small size for marshaled %d items with precisionBits %d: got %d; expecting %d", len(va), precisionBits, len(b), minSizeExpected)
} }
} }