Skip to content

Fix error mesage of ShouldNotHaveSameClass and test naming convention of same class assertions#2038

Merged
joel-costigliola merged 1 commit intoassertj:mainfrom
lykims:fix-same-class-naming-convention
Nov 10, 2020
Merged

Fix error mesage of ShouldNotHaveSameClass and test naming convention of same class assertions#2038
joel-costigliola merged 1 commit intoassertj:mainfrom
lykims:fix-same-class-naming-convention

Conversation

@lykims
Copy link
Contributor

@lykims lykims commented Nov 7, 2020

Check List:

  • Fixes NA
  • Unit tests : NA
  • Javadoc with a code example (on API only) : NA

The error message of ShouldNotHaveSameClass is fixed because it was double negative.

Some inconsistencies were also found for the test naming convention of same class assertions while I was working on #2028.

@joel-costigliola joel-costigliola added this to the 3.19.0 milestone Nov 10, 2020
@joel-costigliola
Copy link
Member

Nice catch, thanks for the fix @lykims!

@joel-costigliola joel-costigliola merged commit e78f410 into assertj:main Nov 10, 2020
@joel-costigliola joel-costigliola modified the milestones: 3.19.0, 3.18.1 Nov 11, 2020
@lykims lykims deleted the fix-same-class-naming-convention branch December 4, 2020 03:04
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