Skip to content

test(shjs): add tests for shjs#304

Merged
nfischer merged 1 commit intoshelljs:masterfrom
ariporad:shjs-tests
Jan 25, 2016
Merged

test(shjs): add tests for shjs#304
nfischer merged 1 commit intoshelljs:masterfrom
ariporad:shjs-tests

Conversation

@ariporad
Copy link
Copy Markdown
Contributor

Fixes #280.

@ariporad
Copy link
Copy Markdown
Contributor Author

@nfischer: ready for review.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can we add a test with return code 0?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

(or just see my comment below)

@nfischer
Copy link
Copy Markdown
Member

Could we add a test to make sure it correctly infers the file extension? Perhaps shjs path/to/resource/file for a file named path/to/resource/file.js?

@nfischer
Copy link
Copy Markdown
Member

Other than that, LGTM

@ariporad ariporad added this to the v0.6.0 milestone Jan 24, 2016
@ariporad ariporad force-pushed the shjs-tests branch 2 times, most recently from 681d163 to b60ab70 Compare January 24, 2016 22:24
@ariporad
Copy link
Copy Markdown
Contributor Author

@nfischer: Should have fixed all those, feel free to re-review/merge.

nfischer added a commit that referenced this pull request Jan 25, 2016
test(shjs): add tests for shjs
@nfischer nfischer merged commit f47a8e2 into shelljs:master Jan 25, 2016
@nfischer
Copy link
Copy Markdown
Member

Awesome!

@ariporad ariporad deleted the shjs-tests branch January 29, 2016 00:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants