Skip to content

Conversation

@erikcoxx98
Copy link
Contributor

@erikcoxx98 erikcoxx98 commented Feb 6, 2025

https://catrobat.atlassian.net/browse/CATROID-1345

testIndexOfItemFunction catroid test fails but should pass. Fix of IndexOfItem method behaviour while working with booleans.

Resolve issue with testIndexOfItem method: when passing true or false (Boolean) as parameter the testIndexOfItem method always returned 0.

Your checklist for this pull request

Please review the contributing guidelines and wiki pages of this repository.

  • Include the name of the Jira ticket in the PR’s title
  • Include a summary of the changes plus the relevant context
  • Choose the proper base branch (develop)
  • Confirm that the changes follow the project’s coding guidelines
  • Verify that the changes generate no compiler or linter warnings
  • Perform a self-review of the changes
  • Verify to commit no other files than the intentionally changed ones
  • Include reasonable and readable tests verifying the added or changed behavior
  • Confirm that new and existing unit tests pass locally
  • Check that the commits’ message style matches the project’s guideline
  • Stick to the project’s gitflow workflow
  • Verify that your changes do not have any conflicts with the base branch
  • After the PR, verify that all CI checks have passed
  • Post a message in the catroid-stage or catroid-ide Slack channel and ask for a code reviewer

testIndexOfItemFunction catroid test fails but should pass.
Fix of IndexOfItem method behaviour while working with booleans.
@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 6, 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