MCPcopy Create free account
hub / github.com/brimdata/super / TestValid

Function TestValid

compiler/parser/parser_test.go:70–78  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

68}
69
70func TestValid(t *testing.T) {
71 file, err := fs.Open("valid.spq")
72 require.NoError(t, err)
73 scanner := bufio.NewScanner(file)
74 for scanner.Scan() {
75 line := scanner.Bytes()
76 testQuery(t, string(line))
77 }
78}
79
80func TestZtestSuperSQL(t *testing.T) {
81 queries, err := searchForSuperSQL()

Callers

nothing calls this directly

Calls 4

OpenFunction · 0.92
testQueryFunction · 0.85
NewScannerMethod · 0.65
BytesMethod · 0.45

Tested by

no test coverage detected