Skip to content

Commit

Permalink
Make tests work on node 0.4.x (12)
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeyksv committed Jan 31, 2012
1 parent 0322235 commit 27cbf98
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions test/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,20 @@ process.on('exit', function() {
console,
Buffer,
process,
ArrayBuffer,
Int8Array,
Uint8Array,
Int16Array,
Uint16Array,
Int32Array,
Uint32Array,
Float32Array,
Float64Array,
DataView,
global.ArrayBuffer!==undefined?ArrayBuffer:null,
global.Int8Array!==undefined?Int8Array:null,
global.Uint8Array!==undefined?Uint8Array:null,
global.Int16Array!==undefined?Int16Array:null,
global.Uint16Array!==undefined?Uint16Array:null,
global.Int32Array!==undefined?Int32Array:null,
global.Uint32Array!==undefined?Uint32Array:null,
global.Float32Array!==undefined?Float32Array:null,
global.Float64Array!==undefined?Float64Array:null,
global.DataView!==undefined?DataView:null,
AssertionError,
global];
global,
events
];

if (global.errno) {
knownGlobals.push(errno);
Expand Down

0 comments on commit 27cbf98

Please sign in to comment.