From 8e72fb8593a2b20be3afce28c39a8412ff7845fd Mon Sep 17 00:00:00 2001 From: Nikita Eshkeev Date: Mon, 29 Nov 2021 15:44:58 +0300 Subject: [PATCH] [properties][unused inspection] IDEA-282533 IDEA does not highlight usage correctly in property files Fix the test after reverting the changes in UnusedPropertyInspection GitOrigin-RevId: 1e6d6af3e4060c0547d9c11773bbeeb33d188e87 --- .../properties/codeInspection/UnusedPropertyInspectionTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/properties/tests/testSrc/com/intellij/lang/properties/codeInspection/UnusedPropertyInspectionTest.java b/plugins/properties/tests/testSrc/com/intellij/lang/properties/codeInspection/UnusedPropertyInspectionTest.java index c4a1735be65b..af3df1386cdc 100644 --- a/plugins/properties/tests/testSrc/com/intellij/lang/properties/codeInspection/UnusedPropertyInspectionTest.java +++ b/plugins/properties/tests/testSrc/com/intellij/lang/properties/codeInspection/UnusedPropertyInspectionTest.java @@ -45,7 +45,7 @@ public class UnusedPropertyInspectionTest extends CodeInsightFixtureTestCase moduleManager.newModule(path, StdModuleTypes.JAVA.getId())); - ModuleRootModificationUtil.addDependency(myModule, module); + ModuleRootModificationUtil.addDependency(module, myModule); configureSources(module); }