mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Cleanup (wrong annotation)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user