MCPcopy Create free account
hub / github.com/expr-lang/expr / TestRun_NilProgram

Function TestRun_NilProgram

vm/vm_test.go:22–25  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

20)
21
22func TestRun_NilProgram(t *testing.T) {
23 _, err := vm.Run(nil, nil)
24 require.Error(t, err)
25}
26
27func TestRun_ReuseVM(t *testing.T) {
28 node, err := parser.Parse(`map(1..2, {#})`)

Callers

nothing calls this directly

Calls 2

RunFunction · 0.92
ErrorFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…