(t *testing.T)
| 141 | } |
| 142 | |
| 143 | func TestPrepared(t *testing.T) { |
| 144 | t.Parallel() |
| 145 | |
| 146 | uri := local.MySQL(t, []string{"schema"}) |
| 147 | db, err := sql.Open("mysql", uri) |
| 148 | if err != nil { |
| 149 | t.Fatalf("%s: %s", uri, err) |
| 150 | } |
| 151 | defer db.Close() |
| 152 | |
| 153 | q, err := Prepare(context.Background(), db) |
| 154 | if err != nil { |
| 155 | t.Fatal(err) |
| 156 | } |
| 157 | |
| 158 | runOnDeckQueries(t, q) |
| 159 | } |
| 160 | |
| 161 | func TestQueries(t *testing.T) { |
| 162 | t.Parallel() |
nothing calls this directly
no test coverage detected