diff --git a/platform/platform-tests/testSrc/com/intellij/openapi/updateSettings/UpdateOptionsTest.kt b/platform/platform-tests/testSrc/com/intellij/openapi/updateSettings/UpdateOptionsTest.kt index 56bfcc6b6759..3e13a31fb9c5 100644 --- a/platform/platform-tests/testSrc/com/intellij/openapi/updateSettings/UpdateOptionsTest.kt +++ b/platform/platform-tests/testSrc/com/intellij/openapi/updateSettings/UpdateOptionsTest.kt @@ -4,6 +4,7 @@ package com.intellij.openapi.updateSettings import com.intellij.configurationStore.deserialize import com.intellij.openapi.updateSettings.impl.UpdateOptions import com.intellij.testFramework.ProjectRule +import com.intellij.testFramework.assertions.Assertions.assertThat import com.intellij.util.loadElement import org.junit.ClassRule import org.junit.Test @@ -15,6 +16,12 @@ class UpdateOptionsTest { val projectRule = ProjectRule() } + @Test + fun `auto check is enabled`() { + // it is quite important default value (true), so, ensure that it is not modified without changing test expectation (as an additional check) + assertThat(UpdateOptions().isCheckNeeded).isTrue() + } + @Test fun test() { loadElement("""