Skip to content

Commit

Permalink
fix typecheck error
Browse files Browse the repository at this point in the history
  • Loading branch information
mmyj authored Oct 27, 2021
1 parent 3bc9c3e commit b36e580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion expression/builtin_string_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ func TestASCII(t *testing.T) {
for _, c := range tbl {
err := ctx.GetSessionVars().SetSystemVar(variable.CharacterSetConnection, c.chs)
require.NoError(t, err)
f, err := newFunctionForTest(ctx, ast.ASCII, primitiveValsToConstants([]interface{}{c.input})...)
f, err := newFunctionForTest(ctx, ast.ASCII, primitiveValsToConstants(ctx, []interface{}{c.input})...)
require.NoError(t, err)
d, err := f.Eval(chunk.Row{})
require.NoError(t, err)
Expand Down

0 comments on commit b36e580

Please sign in to comment.