From 52c49473a814d58ebb45d37e8d0d262d058335fe Mon Sep 17 00:00:00 2001 From: Marcin Mikosik Date: Tue, 2 Sep 2025 09:31:33 +0000 Subject: [PATCH] [java] Improve test assertion message in LightJavaInspectionTestCase Merge-request: IJ-MR-174182 Merged-by: Marcin Mikosik GitOrigin-RevId: 87a8df35ec79b046ba9fc722e77cb6eca1b2e427 --- .../src/com/siyeh/ig/LightJavaInspectionTestCase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/testFramework/src/com/siyeh/ig/LightJavaInspectionTestCase.java b/java/testFramework/src/com/siyeh/ig/LightJavaInspectionTestCase.java index fe14ec330d42..7396ab3bf943 100644 --- a/java/testFramework/src/com/siyeh/ig/LightJavaInspectionTestCase.java +++ b/java/testFramework/src/com/siyeh/ig/LightJavaInspectionTestCase.java @@ -99,7 +99,7 @@ public abstract class LightJavaInspectionTestCase extends LightJavaCodeInsightFi protected final void checkQuickFix(String intentionName) { final IntentionAction intention = myFixture.getAvailableIntention(intentionName); - assertNotNull(intention); + assertNotNull("Intention \"" + intentionName + "\" not found.", intention); myFixture.launchAction(intention); NonBlockingReadActionImpl.waitForAsyncTaskCompletion(); myFixture.checkResultByFile(getTestName(false) + ".after.java");