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

Improve #denyEmpty: #15580

Merged
merged 1 commit into from
Nov 27, 2023
Merged

Conversation

jecisc
Copy link
Member

@jecisc jecisc commented Nov 27, 2023

Make #denyEmpty: is #isEmpty instead of #isNotEmpty. Like this, the assertion can work on some objects implementing #isEmpty but not #isNotEmpty (We have 110 implementors of #isEmpty VS 6 implementors of #isNotEmpty in the image)

Make #denyEmpty: is #isEmpty instead of #isNotEmpty. Like this, the assertion can work on some objects implementing #isEmpty but not #isNotEmpty (We have 110 implementors of #isEmpty VS 6 implementors of #isNotEmpty in the image)
@MarcusDenker MarcusDenker merged commit 2427a8f into pharo-project:Pharo12 Nov 27, 2023
1 of 2 checks passed
@jecisc jecisc deleted the misc/denyEmpty branch November 27, 2023 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants