MCPcopy Index your code
hub / github.com/Shopify/go-lua / TestNormalCall

Function TestNormalCall

vm_test.go:197–201  ·  view source on GitHub ↗

TestNoTailCall tests for failures when neither callee nor caller make a tailcall.

(t *testing.T)

Source from the content-addressed store, hash-verified

195
196// TestNoTailCall tests for failures when neither callee nor caller make a tailcall.
197func TestNormalCall(t *testing.T) {
198 s := `function notailcall() return 5 end
199 return (notailcall())`
200 testNoPanicString(t, s)
201}
202
203func TestVarArgMeta(t *testing.T) {
204 s := `function f(t, ...) return t, {...} end

Callers

nothing calls this directly

Calls 1

testNoPanicStringFunction · 0.85

Tested by

no test coverage detected