8000 fix OS-specific endline mucking test results (:-O not everyone uses l… · rboss/log4js-node@04de4ed · GitHub
[go: up one dir, main page]

Skip to content

Commit 04de4ed

Browse files
committed
fix OS-specific endline mucking test results (:-O not everyone uses linux?!?!)
1 parent 29b0292 commit 04de4ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/dateFileAppender-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ vows.describe('../lib/appenders/dateFile').addBatch({
8989
teardown: removeFile('date-file-test.log'),
9090

9191
'should load appender configuration from a json file': function(err, contents) {
92-
assert.include(contents, 'this should be written to the file\n');
92+
assert.include(contents, 'this should be written to the file' + require('os').EOL);
9393
assert.equal(contents.indexOf('this should not be written to the file'), -1);
9494
}
9595
},

0 commit comments

Comments
 (0)
0