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

fix test function discovery regexp #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adakraz
Copy link

@adakraz adakraz commented Aug 26, 2012

Currently code looks for functions with the word "test" anywhere in its name.
This commit makes is_test_key accept functions starting with optional underscores and the word "test".

This code introduces backwards incompatibility, but I suppose uncommon formats are not (ab)used too much by anyone.

Currently code looks for functions with the word "test" anywhere in its name.
This commit makes is_test_key do what the comment above it says.
@adakraz
Copy link
Author

adakraz commented Sep 4, 2012

FYI, it is a "hook" now, as is_test_key is not local. ;)

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.

None yet

2 participants