diff --git a/platform/testFramework/src/com/intellij/testFramework/PlatformTestUtil.java b/platform/testFramework/src/com/intellij/testFramework/PlatformTestUtil.java index a85a4b046786..25dc2d21bfc9 100644 --- a/platform/testFramework/src/com/intellij/testFramework/PlatformTestUtil.java +++ b/platform/testFramework/src/com/intellij/testFramework/PlatformTestUtil.java @@ -149,10 +149,9 @@ public class PlatformTestUtil { nodeText = toString(userObject, null); } else { - nodeText = String.valueOf(defaultMutableTreeNode); + nodeText = "null"; } - if (nodePrintCondition != null && !nodePrintCondition.value(nodeText)) return; boolean expanded = tree.isExpanded(new TreePath(defaultMutableTreeNode.getPath()));