(t *testing.T)
| 7 | ) |
| 8 | |
| 9 | func TestFunc(t *testing.T) { |
| 10 | store := NewStore(NewEngine()) |
| 11 | cb := func(caller *Caller, args []Val) ([]Val, *Trap) { |
| 12 | return []Val{}, nil |
| 13 | } |
| 14 | NewFunc(store, NewFuncType([]*ValType{}, []*ValType{}), cb) |
| 15 | } |
| 16 | |
| 17 | func TestFuncCall(t *testing.T) { |
| 18 | store := NewStore(NewEngine()) |
nothing calls this directly
no test coverage detected
searching dependent graphs…