Skip to content

Commit a013938

Browse files
Fixed broken tests in Node v0.10
1 parent b392f02 commit a013938

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/fixtures/helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494

9595
if (userAgent.isNode && /v0\.10/.test(process.version)) {
9696
// Node v0.10 serializes buffers differently
97-
value = {type: 'Buffer', data: actual};
97+
value = {type: 'Buffer', data: value};
9898
}
9999
}
100100
return value;

0 commit comments

Comments
 (0)