Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests required #57

Closed
2 of 5 tasks
paulirish opened this issue Feb 13, 2016 · 6 comments
Closed
2 of 5 tasks

Tests required #57

paulirish opened this issue Feb 13, 2016 · 6 comments

Comments

@paulirish
Copy link
Member

We're lacking tests for a few areas. Let's use this ticket to track them.

Please add any others you think we'll need! Edit or leave a comment.

@cht8687
Copy link
Member

cht8687 commented Feb 16, 2016

so after the merge the task works without extra gnu-sed dependency can be marked as done right?

@stevemao
Copy link
Member

Still missing comprehensive tests for it.
In fact, the tests would already fail if the default sed is not working.

@OJFord
Copy link
Member

OJFord commented Feb 16, 2016

@paulirish Can you clarify the difference between resolving d-h when in $PATH, and the following item?

I'm not familiar with nvm'd npm installs, but Homebrew will complain (via brew doctor) if /usr/local/bin isn't in $PATH, which contains symlinks to diff-so-fancy, diff-highlight, etc. - so isn't just checking it works from $PATH sufficient? (c.f. #74, working on my brew install.)

@paulirish
Copy link
Member Author

@OJFord I was just differentiating between the cases of 1 symlink involved vs 2+ symlinks. #36 also mentions the oddness around this.

@OJFord
Copy link
Member

OJFord commented Feb 18, 2016

Oh I see, I hadn't realised this caused problems.

@paulirish
Copy link
Member Author

@OJFord well the new readlink functionality at the top of the file loops to resolve, because asking for readlink foo can return another symlink. so its a test for that coverage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants