TestTailCallRecursiveDiffFn tests for failures where only the caller is making a tailcall.
(t *testing.T)
| 178 | |
| 179 | // TestTailCallRecursiveDiffFn tests for failures where only the caller is making a tailcall. |
| 180 | func TestTailCallRecursiveDiffFn(t *testing.T) { |
| 181 | s := `function tailcall(n) return n+1 end |
| 182 | return tailcall(5)` |
| 183 | testNoPanicString(t, s) |
| 184 | } |
| 185 | |
| 186 | // TestTailCallSameFn tests for failures where only the callee is making a tailcall. |
| 187 | func TestTailCallSameFn(t *testing.T) { |
nothing calls this directly
no test coverage detected