()
| 30 | // Test loading across an eval call that does not shadow variables. |
| 31 | function testNoShadowing(x, h) { |
| 32 | function f() { |
| 33 | eval('1'); |
| 34 | assertEquals(1, x); |
| 35 | assertEquals(2, h()); |
| 36 | function g() { |
| 37 | assertEquals(1, x); |
| 38 | assertEquals(2, h()); |
| 39 | } |
| 40 | g(); |
| 41 | } |
| 42 | f(); |
| 43 | } |
| 44 |
no test coverage detected