(t *testing.T)
| 297 | } |
| 298 | |
| 299 | func TestEmptyQuery(t *testing.T) { |
| 300 | runTestsParallel(t, dsn, func(dbt *DBTest, _ string) { |
| 301 | // just a comment, no query |
| 302 | rows := dbt.mustQuery("--") |
| 303 | defer rows.Close() |
| 304 | // will hang before #255 |
| 305 | if rows.Next() { |
| 306 | dbt.Errorf("next on rows must be false") |
| 307 | } |
| 308 | }) |
| 309 | } |
| 310 | |
| 311 | func TestCRUD(t *testing.T) { |
| 312 | runTestsParallel(t, dsn, func(dbt *DBTest, tbl string) { |
nothing calls this directly
no test coverage detected