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

Function TestSUPParser

sup/sup_test.go:26–32  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

24const testFile = "test.sup"
25
26func TestSUPParser(t *testing.T) {
27 val, err := parse(testFile)
28 require.NoError(t, err)
29 s, err := json.MarshalIndent(val, "", " ")
30 require.NoError(t, err)
31 assert.NotEqual(t, s, "")
32}
33
34func analyze(sctx *super.Context, path string) (sup.Value, error) {
35 val, err := parse(path)

Callers

nothing calls this directly

Calls 1

parseFunction · 0.70

Tested by

no test coverage detected