Enable a few more Guava Primitives tests for J2KT - some Base regex helpers have become available for J2KT since last iteration. Thanks cpovirk@ for pointing this out - there was a transpiler improvement: `GREATEST - (short) 1` is a compile time constant in Java and can be used to initialize a `short` because the compiler can verify that the value is small enough. The straight-forward translation `GREATEST - 1.toShort()` is not a compile time constant in Kotlin and cannot be used to initialize a `Short`. The transpiler handles this now RELNOTES=n/a PiperOrigin-RevId: 611467476
Truth makes your test assertions and failure messages more readable. Similar to AssertJ, it natively supports many JDK and Guava types, and it is extensible to others.
Truth is owned and maintained by the Guava team. It is used in the majority of the tests in Google’s own codebase.
Read more at the main website.