We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 037e83b commit f01c6dbCopy full SHA for f01c6db
sql/expression/function/ceil_round_floor_test.go
@@ -92,9 +92,9 @@ func TestFloor(t *testing.T) {
92
err *errors.Kind
93
}{
94
{"float64 is nil", types.Float64, sql.NewRow(nil), nil, nil},
95
- {"float64 is ok", types.Float64, sql.NewRow(5.8), float64(5), nil},
+ {"float64 is ok", types.Float64, sql.NewRow(5.8), int64(5), nil},
96
{"float32 is nil", types.Float32, sql.NewRow(nil), nil, nil},
97
- {"float32 is ok", types.Float32, sql.NewRow(float32(5.8)), float64(5), nil},
+ {"float32 is ok", types.Float32, sql.NewRow(float32(5.8)), int64(5), nil},
98
{"int32 is nil", types.Int32, sql.NewRow(nil), nil, nil},
99
{"int32 is ok", types.Int32, sql.NewRow(int32(6)), int64(6), nil},
100
{"int64 is nil", types.Int64, sql.NewRow(nil), nil, nil},
0 commit comments