test: remove redeclared var in test-domain
authorRich Trott <rtrott@gmail.com>
Sun, 31 Jan 2016 04:08:42 +0000 (20:08 -0800)
committerMyles Borins <mborins@us.ibm.com>
Wed, 2 Mar 2016 22:01:11 +0000 (14:01 -0800)
PR-URL: https://github.com/nodejs/node/pull/4984
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
test/parallel/test-domain.js

index bef5e94..19cd964 100644 (file)
@@ -175,7 +175,7 @@ function fn2(data) {
   assert.equal(data, 'data', 'should not be null err argument');
 }
 
-var bound = d.intercept(fn2);
+bound = d.intercept(fn2);
 bound(null, 'data');
 
 // intercepted should never pass first argument to callback