Skip to content

Conversation

@copybara-service
Copy link
Contributor

DuplicateAssertion: detect duplicated assertion lines where the argument to assertThat is pure.

This just looks for successive assertion statements with the same source code, and uses our friend ConstantExpressions to check whether the argument to assertThat seems pure at heart.

Flume: unknown commit

…ent to `assertThat` is pure.

This just looks for successive assertion statements with the same source code, and uses our friend `ConstantExpressions` to check whether the argument to `assertThat` seems pure at heart.

Flume: unknown commit
PiperOrigin-RevId: 848124748
@copybara-service copybara-service bot merged commit 3f40f17 into master Dec 23, 2025
@copybara-service copybara-service bot deleted the test_821773490 branch December 23, 2025 12:37
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.

1 participant