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

Function TestValidSQL_SelectDistinct

pkg/sql/parser/parser_strictness_test.go:150–154  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

148}
149
150func TestValidSQL_SelectDistinct(t *testing.T) {
151 if err := parseSQLCheck(t, "SELECT DISTINCT * FROM t"); err != nil {
152 t.Fatalf("valid SQL failed: %v", err)
153 }
154}
155
156func TestValidSQL_SelectWithWhere(t *testing.T) {
157 if err := parseSQLCheck(t, "SELECT * FROM t WHERE 1=1"); err != nil {

Callers

nothing calls this directly

Calls 2

parseSQLCheckFunction · 0.85
FatalfMethod · 0.65

Tested by

no test coverage detected