From e9a1d54035ad4282f01f25452b476fca59eb242c Mon Sep 17 00:00:00 2001 From: Rick Ossendrijver Date: Fri, 6 Jan 2023 10:28:21 +0100 Subject: [PATCH] Add `@OnlineDocumentation` to `TestNGToAssertJRules` (#447) --- .../picnic/errorprone/refasterrules/TestNGToAssertJRules.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/refasterrules/TestNGToAssertJRules.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/refasterrules/TestNGToAssertJRules.java index e49014fb0f..8c9521ca3a 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/refasterrules/TestNGToAssertJRules.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/refasterrules/TestNGToAssertJRules.java @@ -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. @@ -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() {}