MCPcopy Index your code
hub / github.com/expr-lang/expr / TestCheck_NoConfig

Function TestCheck_NoConfig

checker/checker_test.go:799–805  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

797}
798
799func TestCheck_NoConfig(t *testing.T) {
800 tree, err := parser.Parse(`any`)
801 require.NoError(t, err)
802
803 _, err = checker.Check(tree, conf.CreateNew())
804 assert.NoError(t, err)
805}
806
807func TestCheck_AllowUndefinedVariables(t *testing.T) {
808 type Env struct {

Callers

nothing calls this directly

Calls 5

ParseFunction · 0.92
NoErrorFunction · 0.92
CheckFunction · 0.92
CreateNewFunction · 0.92
NoErrorFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…