(t *testing.T)
| 1593 | } |
| 1594 | |
| 1595 | func TestFailingCharset(t *testing.T) { |
| 1596 | runTestsParallel(t, dsn+"&charset=none", func(dbt *DBTest, _ string) { |
| 1597 | // run query to really establish connection... |
| 1598 | _, err := dbt.db.Exec("SELECT 1") |
| 1599 | if err == nil { |
| 1600 | dbt.db.Close() |
| 1601 | t.Fatalf("connection must not succeed without a valid charset") |
| 1602 | } |
| 1603 | }) |
| 1604 | } |
| 1605 | |
| 1606 | func TestCollation(t *testing.T) { |
| 1607 | if !available { |
nothing calls this directly
no test coverage detected