Skip to content

Commit

Permalink
add testing file now that Win32 path figured out (see nodejs/node-v0.…
Browse files Browse the repository at this point in the history
  • Loading branch information
natevw committed Feb 24, 2015
1 parent 9d88338 commit 3c1dd5f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions stub-test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// this one is intended for testing stub binding on platforms where not actually implemented
var stubDevice = (process.platform === 'win32') ? "\\\\.\\NUL" : "/dev/null";
require("./").initialize(stubDevice).transfer(Buffer("-"), function (e,d) {
console.log(e,d);
});

0 comments on commit 3c1dd5f

Please sign in to comment.