eeverman / eeverman/andhow

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

Open
#741 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
25
Forks
34
PR merge metrics
No merged PRs in 30d

Description

**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??

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.