Code coverage report for master/lines.js

Statements: 100% (4 / 4)      Branches: 100% (2 / 2)      Functions: 100% (1 / 1)      Lines: 100% (3 / 3)      Ignored: none     

All files » master/ » lines.js
1 2 3 4 51 8 6    
module.exports = function lines(str) {
  if (str == null) return [];
  return String(str).split(/\r?\n/);
};