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

ecoharmonogram_pl: return if sides_matcher is empty when creating entries in loop #3841

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

amozeo
Copy link

@amozeo amozeo commented Feb 27, 2025

fixes a logical error, where it loop over every side when side_matcher is not provided and it would return on first found side when side_matcher is provided

that meant that if side_matcher didn't match against first found side,
there would be no entries found

one schedule provider in test cases also updated names for sides, so I updated this test accordingly

Provider changed names of sides,
and side, that it was trying to test
no longer existed
fixes a logical error,
where it loop over every side when side_matcher is not provided
and it would return on first found side when side_matcher is provided

that meant that if side_matcher didn't match against first found side,
there would be no entries found
@amozeo amozeo changed the title ecoharmonogram_pl: return if sides_matcher is empty when creating entriens and looping ecoharmonogram_pl: return if sides_matcher is empty when creating entries in loop Feb 27, 2025
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.

1 participant