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

#272: Fixes for dict substitution #292

Merged
merged 2 commits into from Feb 12, 2023

Conversation

USSX-Hares
Copy link
Contributor

Closes #272

Root Cause

In ConfigTreePatser.postParse(), where the value is put to the resulting dict, the key was not split. Thus, ConfigTree.put() was overwriting any values.

Changes

  • Added tests for that case
  • ConfigTreePatser.postParse() now splits the key before calling ConfigTree.put()

@coveralls
Copy link

Coverage Status

Coverage decreased (-1.7%) to 94.413% when pulling de87e8d on USSX-Hares:bug/272-dict-substitution-fix into be660de on chimpler:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage decreased (-1.7%) to 94.413% when pulling de87e8d on USSX-Hares:bug/272-dict-substitution-fix into be660de on chimpler:master.

@darthbear darthbear merged commit 07fce13 into chimpler:master Feb 12, 2023
@darthbear
Copy link
Member

Thank you for your PR @USSX-Hares !

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.

ConfigFactory Parse File update after substitution incorrect
3 participants