diff --git a/lib/encoding/encoding_cgo_test.go b/lib/encoding/encoding_cgo_test.go index 6febd8789..2d31cb7a4 100644 --- a/lib/encoding/encoding_cgo_test.go +++ b/lib/encoding/encoding_cgo_test.go @@ -71,8 +71,8 @@ func TestMarshalInt64ArraySize(t *testing.T) { } testMarshalInt64ArraySize(t, va, 1, 500, 1300) - testMarshalInt64ArraySize(t, va, 2, 600, 1400) - testMarshalInt64ArraySize(t, va, 3, 900, 1800) + testMarshalInt64ArraySize(t, va, 2, 500, 1400) + testMarshalInt64ArraySize(t, va, 3, 800, 1800) testMarshalInt64ArraySize(t, va, 4, 1300, 2100) testMarshalInt64ArraySize(t, va, 5, 2000, 3200) testMarshalInt64ArraySize(t, va, 6, 3000, 4800) diff --git a/lib/encoding/encoding_test.go b/lib/encoding/encoding_test.go index 3ead61fdb..588a25dac 100644 --- a/lib/encoding/encoding_test.go +++ b/lib/encoding/encoding_test.go @@ -192,7 +192,7 @@ func TestMarshalUnmarshalValues(t *testing.T) { } } -func TestMarshalUnmarshalInt64ArrayConstant(t *testing.T) { +func TestMarshalUnmarshalInt64ArrayGeneric(t *testing.T) { testMarshalUnmarshalInt64Array(t, []int64{1, 20, 234}, 4, MarshalTypeNearestDelta2) testMarshalUnmarshalInt64Array(t, []int64{1, 20, -2345, 678934, 342}, 4, MarshalTypeNearestDelta) testMarshalUnmarshalInt64Array(t, []int64{1, 20, 2345, 6789, 12342}, 4, MarshalTypeNearestDelta2)