Browse Source

Make test-sync-fileread pass even when git cr/lf conversion is enabled

v0.7.4-release
Bert Belder 14 years ago
parent
commit
27ef0b0903
  1. 1
      test/fixtures/x.bin
  2. 2
      test/simple/test-sync-fileread.js

1
test/fixtures/x.bin

@ -0,0 +1 @@
xyz

2
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));

Loading…
Cancel
Save