3 71191436 2024-02-28 o import "testing"
5 71191436 2024-02-28 o func TestSelectExpr(t *testing.T) {
6 71191436 2024-02-28 o columns := []string{"from", "to", "date", "subject"}
7 71191436 2024-02-28 o want := "IN (?, ?, ?, ?)"
8 71191436 2024-02-28 o got := sqlInExpr(len(columns))
9 71191436 2024-02-28 o if want != got {
10 71191436 2024-02-28 o t.Errorf("want %s, got %s", want, got)