fixed up some dodgy tabbing

This commit is contained in:
Gareth Jones
2012-09-05 08:00:31 +10:00
parent a6fb26efb1
commit cbc1dd32f9
+5 -5
View File
@@ -19,11 +19,11 @@ vows.describe('RollingFileStream').addBatch({
return new RollingFileStream("test-rolling-file-stream", 1024, 5); return new RollingFileStream("test-rolling-file-stream", 1024, 5);
}, },
'should take a filename, file size in bytes, number of backups as arguments and return a FileWriteStream': function(stream) { 'should take a filename, file size in bytes, number of backups as arguments and return a FileWriteStream': function(stream) {
assert.instanceOf(stream, fs.FileWriteStream); assert.instanceOf(stream, fs.FileWriteStream);
assert.equal(stream.filename, "test-rolling-file-stream"); assert.equal(stream.filename, "test-rolling-file-stream");
assert.equal(stream.size, 1024); assert.equal(stream.size, 1024);
assert.equal(stream.backups, 5); assert.equal(stream.backups, 5);
}, },
'with default settings for the underlying stream': function(stream) { 'with default settings for the underlying stream': function(stream) {
assert.equal(stream.mode, 420); assert.equal(stream.mode, 420);
assert.equal(stream.flags, 'a'); assert.equal(stream.flags, 'a');