CockroachDB returns bigint instead of int

pull/955/head
Jack Christensen 2021-02-13 13:07:07 -06:00
parent 5f58e0e443
commit 19441eee28
1 changed files with 3 additions and 2 deletions

View File

@ -969,8 +969,9 @@ func TestRowDecodeBinary(t *testing.T) {
continue
}
if !reflect.DeepEqual(actual, tt.expected) {
t.Errorf("%d. Expected %v, got %v (sql -> %v)", i, tt.expected, actual, tt.sql)
for j := range tt.expected {
assert.EqualValuesf(t, tt.expected[j], actual[j], "%d. [%d]", i, j)
}
ensureConnValid(t, conn)