- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for TestMySQLRegistration (0.12 seconds)
-
internal/event/target/mysql_test.go
package target import ( "database/sql" "slices" "testing" ) // TestPostgreSQLRegistration checks if sql driver // is registered and fails otherwise. func TestMySQLRegistration(t *testing.T) { var found bool if slices.Contains(sql.Drivers(), "mysql") { found = true } if !found { t.Fatal("mysql driver not registered") }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 1.1K bytes - Click Count (0)