Skip to content

get rid of truth#1483

Merged
bulldozer-bot[bot] merged 1 commit intodevelopfrom
esword/remove-the-truth
Nov 25, 2025
Merged

get rid of truth#1483
bulldozer-bot[bot] merged 1 commit intodevelopfrom
esword/remove-the-truth

Conversation

@esword
Copy link
Contributor

@esword esword commented Nov 25, 2025

Before this PR

This repo has been failing Upgrade Dependencies excavator for almost 2 years (since Feb 29, 2024). https://github.com/palantir/palantir-java-format/pulls?q=is%3Apr+%22Excavator%3A+Upgrade+dependencies%22+ . It's gone through a series of PRs that it opened and closed in that time. This is the current one - #1473

The reason (I think) is that it uses a library called com.google.truth:truth for an assertThat and there are (possibly) multiple versions of it. Why we use this library and also use assertj, I don't know. I've removed uses of truth to hopefully unblock other things.

And yes, I did get dark amusement out of the subject of this PR.

After this PR

==COMMIT_MSG==
==COMMIT_MSG==

Possible downsides?

@felixdesouza
Copy link

👍 I believe truth is coming from google-java-format which this repo is forked from, it's their own assertion library iirc. Don't see anything wrong with getting rid of truth here

@bulldozer-bot bulldozer-bot bot merged commit 3e6a75c into develop Nov 25, 2025
7 checks passed
@bulldozer-bot bulldozer-bot bot deleted the esword/remove-the-truth branch November 25, 2025 17:19
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.

2 participants