code: function (util) {
  
        function printable(str) {
          return ('' + str).replace(/\n/g, '\\n').replace(/\r/g, '\\r')
        }
        function compare(actual, expected) {
          var pass = actual === expected
          return {
            pass: pass,
            message: util.buildFailureMessage(
              'toHasLinesLike', pass, printable(actual), printable(expected))
          }
        }
  
        return {compare: compare}
      }
docs: simple string comparator, mainly for easy visualization of eols