Fri, 16 Jan 2015 04:50:19 +0100
Replace accessor implementation with direct member state manipulation, by request https://trac.torproject.org/projects/tor/ticket/9701#comment:32
1 actual = '';
2 expected = '0,1,0,1,0,1,';
3
4 function f() {
5 for (var i = 0; i < arguments.length; ++i) {
6 appendToActual(i);
7 }
8 }
9
10 f(1, 2);
11 f(1, 2);
12 f(2, 2);
13
14
15 assertEq(actual, expected)