- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestMySQLRegistration (0.07 sec)
-
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") }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 1.1K bytes - Viewed (0)