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

correct order or arguments to assertEquals call in tests #2831

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

havetisyan
Copy link
Collaborator

@havetisyan havetisyan commented Dec 17, 2024

Description

there are no code changes in the PR - only test files are updated

The assertEquals method has the following signature:

public static void assertEquals(actual, expected)

In quite a few places the order of action and expected was switched. The test case still works but they're being reported as a problem due to incorrect order in IDE. So the correct order was established.

Contribution Checklist:

  • The pull request does not introduce any breaking changes
  • I have read the contribution guidelines.
  • Create an issue and link to the pull request.

Attach Screenshots (Optional)

@havetisyan havetisyan merged commit 9f12037 into master Dec 17, 2024
7 checks passed
@havetisyan havetisyan deleted the assert-equals branch December 17, 2024 20:11
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.

2 participants