Skip to content

Commit

Permalink
Add @OnlineDocumentation to the TestNGToAssertJRules rule collection
Browse files Browse the repository at this point in the history
  • Loading branch information
rickie committed Jan 6, 2023
1 parent e9733f7 commit 4528924
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import org.assertj.core.api.ThrowableAssert.ThrowingCallable;
import org.testng.Assert;
import org.testng.Assert.ThrowingRunnable;
import tech.picnic.errorprone.refaster.annotation.OnlineDocumentation;

/**
* Refaster rules that replace TestNG assertions with equivalent AssertJ assertions.
Expand Down Expand Up @@ -72,6 +73,7 @@
// XXX: As-is these rules do not result in a complete migration:
// - Expressions containing comments are skipped due to a limitation of Refaster.
// - Assertions inside lambda expressions are also skipped. Unclear why.
@OnlineDocumentation
final class TestNGToAssertJRules {
private TestNGToAssertJRules() {}

Expand Down

0 comments on commit 4528924

Please sign in to comment.