-
**Describe the bug**
assertThat(...).isEqualTo(..) is not working with java.sql.SQLException. The compiler says it's ambiguous.
* assertj core version: 3.22.0
* java version: 11.0.13-tem
*…
-
In step 6 `org.junit.Assert.assertThat` is used while in step 7 `com.google.common.truth.Truth.assertThat` is used. I feel like this is confusing and should be called out?
-
## What version of OpenRewrite are you using?
I am using
- Maven plugin v5.18.0
- rewrite-testing-frameworks v2.2.0
## How are you running OpenRewrite?
I am using the Maven plugin, and my…
-
### Describe the bug
From: https://build.ci.opensearch.org/job/gradle-check/45305/testReport/junit/org.opensearch.cluster.routing/PrimaryAllocationIT/testPrimaryReplicaResyncFailed/ on PR
https://g…
mch2 updated
22 hours ago
-
Add `@CheckResult`/`@CheckReturnValue` to `assertThat` so that Detekt can makes sure that you do something with the result of the `assertThat` methods.
See https://detekt.github.io/detekt/potentia…
-
The tests from #161 should be properly testing the fetchIfNeeded function and also the fetch functionality.
### Actual behavior
```
@Test
public void testFetchIfNeededRecentFetchHead(@TempDir …
-
#### Feature summary
A method `isInFloatingPointFormat` to assert that a `BigDecimal` has been specified in floating point syntax using a decimal dot or the exponential "e".
A complementary met…
-
User `assertthat` for condition checking in functions, replacing `if()` or `stopifnot()`
-
The `StandardCache.withStructureLock` method opens the lock file using the `StandardOpenOption.DELETE_ON_CLOSE`. The implementation of that functionality is highly system dependent. On Ubuntu 20.04 us…
-
Seems like Java 8 changes how generic arguments are resolved and now there is no type safety when using assertThat.
`assertThat(1, is("abc"));`
This now compiles and will fail at runtime. It would b…