Closed indexzero closed 8 years ago
In reading the code I learned something about JavaScript: String.prototype.trim will remove line-endings like \r. To learn this I wrote what I thought would be a failing test, but it wasn't!
String.prototype.trim
\r
So ... here's test coverage for \r\n based line endings.
\r\n
Love more tests! :)
In reading the code I learned something about JavaScript:
String.prototype.trim
will remove line-endings like\r
. To learn this I wrote what I thought would be a failing test, but it wasn't!So ... here's test coverage for
\r\n
based line endings.