Skip to content

Skip non-.zunit files when recursing on a test directory#115

Open
NReilingh wants to merge 1 commit into
zunit-zsh:nextfrom
NReilingh:skip-non-zunit-files
Open

Skip non-.zunit files when recursing on a test directory#115
NReilingh wants to merge 1 commit into
zunit-zsh:nextfrom
NReilingh:skip-non-zunit-files

Conversation

@NReilingh

Copy link
Copy Markdown

I decided to implement this check inside the directory recursion instead of inside the file check. That way, someone can still call zunit testfile.weirdextension and have things work. The .zunit extension requirement is only in place when doing directory recursion.

fixes #114

I decided to implement this check inside the directory recursion instead of inside the file check. That way, someone can still call `zunit testfile.weirdextension` and have things work. The .zunit extension requirement is only in place when doing directory recursion.

@MichaelAquilina MichaelAquilina left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This seems reasonable to me. Will wait to hear what @molovo has to say before merging though :)

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