Skip to content

Commit

Permalink
ErrorProne PreferAssertj migration to AssertJ from org.junit.Assert (#…
Browse files Browse the repository at this point in the history
…841)

ErrorProne PreferAssertj migration to AssertJ from org.junit.Assert
  • Loading branch information
carterkozak authored and bulldozer-bot[bot] committed Sep 17, 2019
1 parent 4e4cfb2 commit f8bfeb0
Show file tree
Hide file tree
Showing 6 changed files with 1,498 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ Safe Logging can be found at [github.com/palantir/safe-logging](https://github.c
- `SafeLoggingExceptionMessageFormat`: SafeLoggable exceptions do not interpolate parameters.
- `StrictUnusedVariable`: Functions shouldn't have unused parameters.
- `StringBuilderConstantParameters`: StringBuilder with a constant number of parameters should be replaced by simple concatenation.
- `PreferAssertj`: Prefer AssertJ fluent assertions.

## com.palantir.baseline-checkstyle
Checkstyle rules can be suppressed on a per-line or per-block basis. (It is good practice to first consider formatting
Expand Down
1 change: 1 addition & 0 deletions baseline-error-prone/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ dependencies {
testCompile 'org.slf4j:slf4j-api'
testCompile 'org.apache.commons:commons-lang3'
testCompile 'commons-lang:commons-lang'
testCompile 'org.assertj:assertj-core'
testCompile 'org.junit.jupiter:junit-jupiter-api'
testCompile gradleApi()
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-migrationsupport'
Expand Down
Loading

0 comments on commit f8bfeb0

Please sign in to comment.