mirror of
https://github.com/nodejs/node.git
synced 2026-11-30 11:55:44 -05:00
test: fix variable redeclarations
I'm a fan of small changesets, but even I'm getting a little annoyed at me for opening all these PRs weeding out variable redeclarations. So I'm bundling a bunch of small changes here. PR-URL: https://github.com/nodejs/node/pull/4992 Reviewed-By: Michaël Zasso <mic.besace@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
6c2d902c3d
commit
3733c032fc
9 files changed
+31
-32
No files matched your search
@@ -43,7 +43,7 @@ function testBuf(encoding, buf) {
|
||||
|
||||
// write the whole buffer at once.
|
||||
var res2 = '';
|
||||
var s = new SD(encoding);
|
||||
s = new SD(encoding);
|
||||
res2 += s.write(buf);
|
||||
res2 += s.end();
|
||||
|
||||
|
||||
Reference in new issue
Block a user