From bd485e4f2d4b31e0e306eb7ca27f54294621fadc Mon Sep 17 00:00:00 2001 From: Vladimir Krivosheev Date: Mon, 4 Sep 2017 18:12:54 +0200 Subject: [PATCH] =?UTF-8?q?cleanup=20=E2=80=94=20use=20jdom=20assert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../testSrc/DefaultProjectStoreTest.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/platform/configuration-store-impl/testSrc/DefaultProjectStoreTest.kt b/platform/configuration-store-impl/testSrc/DefaultProjectStoreTest.kt index c4c67dea7439..c0f0ef5c1dd3 100644 --- a/platform/configuration-store-impl/testSrc/DefaultProjectStoreTest.kt +++ b/platform/configuration-store-impl/testSrc/DefaultProjectStoreTest.kt @@ -7,7 +7,6 @@ import com.intellij.openapi.application.ex.ApplicationManagerEx import com.intellij.openapi.application.runWriteAction import com.intellij.openapi.components.* import com.intellij.openapi.project.ProjectManager -import com.intellij.openapi.util.JDOMUtil import com.intellij.openapi.vfs.LocalFileSystem import com.intellij.openapi.vfs.refreshVfs import com.intellij.testFramework.* @@ -100,7 +99,7 @@ internal class DefaultProjectStoreTest { createProjectAndUseInLoadComponentStateMode(tempDirManager, directoryBased = true) { val component = TestComponent() it.stateStore.initComponent(component, true) - assertThat(JDOMUtil.writeElement(component.state)).isEqualTo(JDOMUtil.writeElement(defaultTestComponent.state)) + assertThat(component.state).isEqualTo(defaultTestComponent.state) } } finally {