MCPcopy Create free account
hub / github.com/ajitpratap0/GoSQLX / TestDialectMariaDB_InAllDialects

Function TestDialectMariaDB_InAllDialects

pkg/sql/keywords/mariadb_test.go:15–26  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

13}
14
15func TestDialectMariaDB_InAllDialects(t *testing.T) {
16 found := false
17 for _, d := range keywords.AllDialects() {
18 if d == keywords.DialectMariaDB {
19 found = true
20 break
21 }
22 }
23 if !found {
24 t.Error("DialectMariaDB not found in AllDialects()")
25 }
26}
27
28func TestDialectMariaDB_IsValidDialect(t *testing.T) {
29 if !keywords.IsValidDialect("mariadb") {

Callers

nothing calls this directly

Calls 2

AllDialectsFunction · 0.92
ErrorMethod · 0.45

Tested by

no test coverage detected