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

Function TestValidSQL_SelectStar

pkg/sql/parser/parser_strictness_test.go:120–124  ·  view source on GitHub ↗

============================================================================= Regression tests - valid SQL must still parse correctly =============================================================================

(t *testing.T)

Source from the content-addressed store, hash-verified

118// =============================================================================
119
120func TestValidSQL_SelectStar(t *testing.T) {
121 if err := parseSQLCheck(t, "SELECT * FROM users"); err != nil {
122 t.Fatalf("valid SQL failed: %v", err)
123 }
124}
125
126func TestValidSQL_SelectMultipleTables(t *testing.T) {
127 if err := parseSQLCheck(t, "SELECT * FROM t1, t2"); err != nil {

Callers

nothing calls this directly

Calls 2

parseSQLCheckFunction · 0.85
FatalfMethod · 0.65

Tested by

no test coverage detected