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

Rearranging code to achieve full test coverage with the existing test suite #141

Merged
merged 1 commit into from Dec 21, 2016
Merged

Rearranging code to achieve full test coverage with the existing test suite #141

merged 1 commit into from Dec 21, 2016

Conversation

jhoughtelin
Copy link
Contributor

According to the contributing guidelines, 100% test coverage should be maintained so this modifies the Reflector class in a manner that is only significant to the test suite to allow the existing test suite to obtain full coverage without any functional change.

Before
before

After
after

This just nixes a few lines of code and establishes 100% code coverage for the package.

Cheers, Thank you & Happy Holidays.

@harikt
Copy link
Member

harikt commented Dec 21, 2016

Probably adding more tests may help to increase coverage. I like some of your ways, but the problem is then it happens to be nested blocks which seems not a good idea.

@pmjones will look more into this and address the same.

@pmjones
Copy link
Member

pmjones commented Dec 21, 2016

Nice. Thanks for the attention to detail!

@pmjones pmjones merged commit ae9f34b into auraphp:3.x Dec 21, 2016
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

3 participants