sync: 0.7.3 from main (15b0dbdde03c6b89733ca07d36eefa25fd301107)
This commit is contained in:
1 parent
9337afc47e
commit
80d7c72c07
12 files changed
+484
-315
No files matched your search
@@ -0,0 +1,14 @@
|
||||
package config
|
||||
|
||||
import (
|
||||
"database/sql"
|
||||
"slices"
|
||||
"testing"
|
||||
)
|
||||
|
||||
// The only guard for the lib/pq import: build and vet pass without it.
|
||||
func TestPostgresDriverRegistered(t *testing.T) {
|
||||
if !slices.Contains(sql.Drivers(), "postgres") {
|
||||
t.Fatalf("driver \"postgres\" not registered; sql.Drivers() = %v", sql.Drivers())
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user