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

Prevent adding duplicate parts to message #19 #24

Open
wants to merge 1 commit into
base: 2.9.x
Choose a base branch
from

Conversation

jamesshaw1987
Copy link

Signed-off-by: James Shaw [email protected]

Fixes #19 by using in_array, which performs a loose comparison by default. Add unit test to cover duplicate part addition, alongside existing test that covers adding the exact same part multiple times.

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