OLD | NEW |
1 PASS | 1 PASS |
2 | 2 |
3 Tests the coverage highlight in sources after the recording finishes. | 3 Tests the coverage highlight in sources after the recording finishes. |
4 | 4 |
5 0: + function outer(index) { | 5 0: + function outer(index) { |
6 1: + | 6 1: - |
7 2: * function inner1(a) { | 7 2: - function inner1(a) { |
8 3: - return a + 1; | 8 3: - return a + 1; |
9 4: * } | 9 4: - } |
10 5: + | 10 5: - |
11 6: + function inner2(a) { | 11 6: + function inner2(a) { |
12 7: + return a + 2; | 12 7: + return a + 2; |
13 8: + } | 13 8: + } |
14 9: + | 14 9: - |
15 10: * function inner3(a) { return a + 3; } function inner4(a) { return a + 4;
} function inner5(a) { return a + 5; } | 15 10: + function inner3(a) { return a + 3; } function inner4(a) { return a + 4;
} function inner5(a) { return a + 5; } |
16 11: + | 16 11: - |
17 12: + return [inner1, inner2, inner3, inner4, inner5][index]; | 17 12: + return [inner1, inner2, inner3, inner4, inner5][index]; |
18 13: * } | 18 13: + } |
19 14: - | 19 14: - |
20 15: * function performActions() { | 20 15: + function performActions() { |
21 16: + return outer(1)(0) + outer(3)(0); | 21 16: + return outer(1)(0) + outer(3)(0); |
22 17: * } function outer2() { | 22 17: + } function outer2() { |
23 18: - return outer(0)(0); | 23 18: - return outer(0)(0); |
24 19: - } | 24 19: - } |
25 20: - | 25 20: - |
26 | 26 |
OLD | NEW |