Skip to content

Replace assertThat(x.isEmpty()).isTrue() with assertThat(x).isEmpty()#31758

Closed
quaff wants to merge 1 commit into
spring-projects:mainfrom
quaff:patch-43
Closed

Replace assertThat(x.isEmpty()).isTrue() with assertThat(x).isEmpty()#31758
quaff wants to merge 1 commit into
spring-projects:mainfrom
quaff:patch-43

Conversation

@quaff

@quaff quaff commented Dec 6, 2023

Copy link
Copy Markdown
Contributor

Search for : assertThat\((.+).isEmpty\(\)\).isTrue\(\)
Replace with : assertThat($1).isEmpty()

Search for : assertThat\((.+).isEmpty\(\)\).isFalse\(\)
Replace with : assertThat($1).isNotEmpty()

Search for   : assertThat\((.+).isEmpty\(\)\).isTrue\(\)
Replace with : assertThat($1).isEmpty()

Search for   : assertThat\((.+).isEmpty\(\)\).isFalse\(\)
Replace with : assertThat($1).isNotEmpty()
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Dec 6, 2023
@bclozel bclozel self-assigned this Dec 6, 2023
@bclozel bclozel added type: task A general task and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Dec 6, 2023
@bclozel bclozel added this to the 6.1.2 milestone Dec 6, 2023
@bclozel bclozel closed this in afcd03b Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: task A general task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants