more linting

This commit is contained in:
Gareth Jones 2013-05-30 07:54:42 +10:00
parent 913c748ee0
commit 87dc7cf5aa

View File

@ -1,6 +1,7 @@
var assert = require('assert'),
vows = require('vows'),
sandbox = require('sandboxed-module');
"use strict";
var assert = require('assert')
, vows = require('vows')
, sandbox = require('sandboxed-module');
function makeTestAppender() {
return {
@ -12,7 +13,7 @@ function makeTestAppender() {
},
appender: function() {
var self = this;
return function(logEvt) { self.logEvt = logEvt; }
return function(logEvt) { self.logEvt = logEvt; };
}
};
}
@ -114,12 +115,14 @@ vows.describe('log4js configure').addBatch({
}
}
},
log4js = sandbox.require('../lib/log4js',
log4js = sandbox.require(
'../lib/log4js',
{
requires: {
'fs': fakeFS,
}
});
}
);
delete process.env.LOG4JS_CONFIG;
return fileRead;
},