(t *testing.T)
| 521 | } |
| 522 | |
| 523 | func TestCallLessArgsDynamicLocalVar(t *testing.T) { |
| 524 | const SCRIPT = ` |
| 525 | function f(param) { |
| 526 | var a = 42; |
| 527 | if (false) { |
| 528 | eval(""); |
| 529 | } |
| 530 | return a; |
| 531 | } |
| 532 | f(); |
| 533 | ` |
| 534 | |
| 535 | testScript(SCRIPT, intToValue(42), t) |
| 536 | } |
| 537 | |
| 538 | /* |
| 539 | func TestFib(t *testing.T) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…