Skip to content

Add doesNotHaveValue to Optional assertions#4028

Closed
nandrez wants to merge 1 commit into
assertj:3.xfrom
nandrez:Issue-3701
Closed

Add doesNotHaveValue to Optional assertions#4028
nandrez wants to merge 1 commit into
assertj:3.xfrom
nandrez:Issue-3701

Conversation

@nandrez

@nandrez nandrez commented Nov 22, 2025

Copy link
Copy Markdown
Contributor

Check List:

Following the contributing guidelines will make it easier for us to review and accept your PR.

@scordio scordio added the event: Hack.Commit.Push A topic worked on during a Hack.Commit.Push event label Nov 22, 2025
@scordio scordio added this to the 3.28.0 milestone Nov 22, 2025
@joel-costigliola

Copy link
Copy Markdown
Member

Integrated thanks @nandrez !

I made a few changes:

  • accepts null value
  • assertions always work if optional is empty

@scordio scordio changed the title Add #doesNotHaveValue to OptionalAssert Add doesNotHaveValue to Optional assertions Dec 6, 2025
@scordio

scordio commented Dec 6, 2025

Copy link
Copy Markdown
Member

Integrated in 0247423.

@scordio scordio added status: superseded An issue that has been superseded by another and removed status: superseded An issue that has been superseded by another labels Dec 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

event: Hack.Commit.Push A topic worked on during a Hack.Commit.Push event

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants