From 2aecf7c37c07b78c9b552cc8cf0754d64ccad0cb Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Tue, 28 Apr 2020 00:01:44 +0300 Subject: [PATCH] lib/{encoding,decimal}: typo fixes in tests: epxecting->expecting --- lib/decimal/decimal_test.go | 2 +- lib/encoding/encoding_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/decimal/decimal_test.go b/lib/decimal/decimal_test.go index 1791a2408..87762cc5e 100644 --- a/lib/decimal/decimal_test.go +++ b/lib/decimal/decimal_test.go @@ -164,7 +164,7 @@ func TestMaxUpExponent(t *testing.T) { e := maxUpExponent(v) 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) if e != eExpected { diff --git a/lib/encoding/encoding_test.go b/lib/encoding/encoding_test.go index 588a25dac..fd3173aa3 100644 --- a/lib/encoding/encoding_test.go +++ b/lib/encoding/encoding_test.go @@ -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) } 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) } }