Skip to content

Fix tests on windows - #83

Merged
tj merged 1 commit into
tj:masterfrom
ForbesLindesay:fix-tests-windows-line-endings
Nov 12, 2012
Merged

Fix tests on windows#83
tj merged 1 commit into
tj:masterfrom
ForbesLindesay:fix-tests-windows-line-endings

Conversation

@ForbesLindesay

Copy link
Copy Markdown
Contributor

\r shouldn't become a space, it should be ignored. Because we're ignoring the \r character in the lib, we need to remove it from our expected results. Requiring should at the top of the tests lets you run tests simply as mocha which is useful for people without make.

\r shouldn't become a space, it should be ignored.  Because we're
ignoring the \r character in the lib, we need to remove it from our
expected results.  Requiring should at the top of the tests lets you run
tests simply as `mocha` which is useful for people without make.
Comment thread lib/ejs.js

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

weiiird yeah i dont recall this at all hahaha, you're right though it makes no sense

tj added a commit that referenced this pull request Nov 12, 2012
@tj
tj merged commit 1f45d13 into tj:master Nov 12, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants