Commit b416cdab authored by Jan Potoms's avatar Jan Potoms

fix tests

parent 202b728b
User-agent:*
Disallow:
\ No newline at end of file
......@@ -9,8 +9,10 @@ var parse = require('../lib/parse'),
function getFixture(name) {
var fixturePath = path.resolve(__dirname, 'fixtures', name + '.txt');
return fs.createReadStream(fixturePath);
var fixturePath = path.resolve(__dirname, 'fixtures', name + '.txt'),
stream = fs.createReadStream(fixturePath);
stream.pause();
return stream;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment