From 8af1fe8bccbccdbc61854aba4a87ae24a47bb838 Mon Sep 17 00:00:00 2001 From: Vladimir Krivosheev Date: Fri, 22 Dec 2017 16:07:02 +0100 Subject: [PATCH] fix toolwindow weight serialization --- .../platform-tests/testSrc/com/intellij/wm/WindowInfoTest.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/platform-tests/testSrc/com/intellij/wm/WindowInfoTest.kt b/platform/platform-tests/testSrc/com/intellij/wm/WindowInfoTest.kt index b17d2b05a03d..c9e7aad0f668 100644 --- a/platform/platform-tests/testSrc/com/intellij/wm/WindowInfoTest.kt +++ b/platform/platform-tests/testSrc/com/intellij/wm/WindowInfoTest.kt @@ -53,6 +53,8 @@ internal class WindowInfoTest { val a = WindowInfoImpl() a.id = "a" a.weight = 0.3f + doSerializerTest("""""", a) + a.weight = WindowInfoImpl.DEFAULT_WEIGHT doSerializerTest("""""", a) } } \ No newline at end of file