Skip to content

Commit 47158bc

Browse files
committed
unify short name for mysqlConn in connection_test (go-sql-driver#1581)
1 parent 22cc234 commit 47158bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

connection_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ func TestInterpolateParamsUint64(t *testing.T) {
121121

122122
func TestCheckNamedValue(t *testing.T) {
123123
value := driver.NamedValue{Value: ^uint64(0)}
124-
x := &mysqlConn{}
125-
err := x.CheckNamedValue(&value)
124+
mc := &mysqlConn{}
125+
err := mc.CheckNamedValue(&value)
126126

127127
if err != nil {
128128
t.Fatal("uint64 high-bit not convertible", err)

0 commit comments

Comments
 (0)