Skip to content

Commit

Permalink
fix TestPrepareWithDigestedName
Browse files Browse the repository at this point in the history
  • Loading branch information
drakkan committed Oct 8, 2023
1 parent aa55f6e commit 9764335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ func TestPrepareWithDigestedName(t *testing.T) {
sql := "select $1::text"
sd, err := conn.Prepare(ctx, sql, sql)
require.NoError(t, err)
require.Equal(t, "stmt_2510cc7db17de3f42758a2a29c8b9ef8305d007b997ebdd6", sd.Name)
require.Equal(t, "stmt_12917919191120275379", sd.Name)

var s string
err = conn.QueryRow(ctx, sql, "hello").Scan(&s)
Expand Down

0 comments on commit 9764335

Please sign in to comment.