haraka / haraka-config

Haraka config file loader and parser
https://www.npmjs.com/package/haraka-config
MIT License
10 stars 13 forks source link

getDir: test indicates file contents are buffer #56

Closed msimerson closed 4 years ago

msimerson commented 4 years ago

test failures showed Buffer vs string in ==. After toString(), I could see it was contents1\r\n == contents1\n. So replace \n with ${os.EOL} and tests pass.

fixes #55