IDEA-CR-18986 use constant name

This commit is contained in:
Vladimir Krivosheev
2017-03-07 15:18:15 +01:00
parent c686e98d75
commit ed17624452
@@ -150,7 +150,7 @@ internal class ModuleStoreRenameTest {
val rootManager = module.rootManager as ModuleRootManagerComponent
val stateModificationCount = rootManager.stateModificationCount
runWriteAction { src.rename(null, UUID.randomUUID().toString()) }
runWriteAction { src.rename(null, "bar") }
assertThat(stateModificationCount).isLessThan(rootManager.stateModificationCount)
}