diff --git a/test/fixtures/x.bin b/test/fixtures/x.bin new file mode 100644 index 00000000000..cd470e61900 --- /dev/null +++ b/test/fixtures/x.bin @@ -0,0 +1 @@ +xyz diff --git a/test/simple/test-sync-fileread.js b/test/simple/test-sync-fileread.js index cc161aa6487..c0acde51bf1 100644 --- a/test/simple/test-sync-fileread.js +++ b/test/simple/test-sync-fileread.js @@ -24,6 +24,6 @@ var assert = require('assert'); var path = require('path'); var fs = require('fs'); -var fixture = path.join(__dirname, '../fixtures/x.txt'); +var fixture = path.join(__dirname, '../fixtures/x.bin'); assert.equal('xyz\n', fs.readFileSync(fixture));