From e8e0c39a446563c977520596020f65c866be4b63 Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Fri, 17 Feb 2017 18:11:32 +0100 Subject: [PATCH] Cleanup (wrong annotation) --- .../com/intellij/codeInsight/daemon/ModuleRenameTest.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/java/java-tests/testSrc/com/intellij/codeInsight/daemon/ModuleRenameTest.kt b/java/java-tests/testSrc/com/intellij/codeInsight/daemon/ModuleRenameTest.kt index 1f12e50c82f9..6a4dcfe0a81a 100644 --- a/java/java-tests/testSrc/com/intellij/codeInsight/daemon/ModuleRenameTest.kt +++ b/java/java-tests/testSrc/com/intellij/codeInsight/daemon/ModuleRenameTest.kt @@ -1,5 +1,5 @@ /* - * Copyright 2000-2016 JetBrains s.r.o. + * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,7 +20,6 @@ import com.intellij.psi.search.GlobalSearchScope import com.intellij.refactoring.rename.RenameProcessor import com.intellij.testFramework.fixtures.LightJava9ModulesCodeInsightFixtureTestCase import com.intellij.testFramework.fixtures.MultiModuleJava9ProjectDescriptor.ModuleDescriptor.M2 -import org.junit.Test class ModuleRenameTest : LightJava9ModulesCodeInsightFixtureTestCase() { override fun setUp() { @@ -28,7 +27,7 @@ class ModuleRenameTest : LightJava9ModulesCodeInsightFixtureTestCase() { addFile("module-info.java", "module M2 { }", M2) } - @Test fun testRename() { + fun testRename() { myFixture.configureByText("module-info.java", "module M { requires M2; }") val module = JavaFileManager.SERVICE.getInstance(project).findModules("M2", GlobalSearchScope.allScope(project)).first() RenameProcessor(project, module, "M2.bis", false, false).run()