From: nik Date: Thu, 27 Aug 2015 10:52:42 +0000 (+0300) Subject: test fixed: corrected field name used in reflection X-Git-Tag: phpstorm/142.4331~4 X-Git-Url: https://git.jetbrains.org/?p=idea%2Fcommunity.git;a=commitdiff_plain;h=e2511fef3302851f9f67f7489b3acf40425a9b4f test fixed: corrected field name used in reflection --- diff --git a/platform/platform-tests/testSrc/com/intellij/openapi/editor/colors/impl/TextAttributesReaderTest.java b/platform/platform-tests/testSrc/com/intellij/openapi/editor/colors/impl/TextAttributesReaderTest.java index a97c207708bf..de4c83404a6d 100644 --- a/platform/platform-tests/testSrc/com/intellij/openapi/editor/colors/impl/TextAttributesReaderTest.java +++ b/platform/platform-tests/testSrc/com/intellij/openapi/editor/colors/impl/TextAttributesReaderTest.java @@ -173,7 +173,7 @@ public final class TextAttributesReaderTest extends LightPlatformTestCase { assertEquals(expected, actual); // EditorColorsSchemeImplTest.testWriteInheritedFromDefault // EditorColorsSchemeImplTest.testWriteInheritedFromDarcula - Field field = TextAttributes.class.getDeclaredField("myEnforcedDefaults"); + Field field = TextAttributes.class.getDeclaredField("myEnforceEmpty"); field.setAccessible(true); assertEquals(field.get(expected), field.get(actual)); }