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

AndHowTestUtils.setAndHowCore should not throw error if current core is null #741

Open
eeverman opened this issue Oct 19, 2022 · 0 comments
Milestone

Comments

@eeverman
Copy link
Owner

Describe the bug
AndHowTestUtils.setAndHowCore#138 throw the error:
"Cannot set a new core when AndHow is uninitialized"

This error is actually only returned when AndHow is uninitialized and the new core is non-null. This method happily accepts a non-null core if AndHow is initialized - why would it complain if it is not??

Setting the core does break the state of AndHow a bit: Perhaps there was a Locator or a Config in process that does not match the new core - can that be sorted out??

@eeverman eeverman added this to the 1.5.1 milestone Oct 19, 2022
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

No branches or pull requests

1 participant