From cd8bedca31592850f9f48ec8778d2757d786e166 Mon Sep 17 00:00:00 2001 From: "Kirill.Karnaukhov" Date: Wed, 19 Nov 2025 11:41:59 +0100 Subject: [PATCH] LLM-18992 [ai-next-edit] fix logs collection in inline completion tests GitOrigin-RevId: d7d182d2228a1586f02560e2586dcc606b7541c4 --- .../inline/completion/logs/TestInlineCompletionLogs.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/platform/platform-tests/testSrc/com/intellij/codeInsight/inline/completion/logs/TestInlineCompletionLogs.kt b/platform/platform-tests/testSrc/com/intellij/codeInsight/inline/completion/logs/TestInlineCompletionLogs.kt index d3f3886a22db..e6e11f1fe3b4 100644 --- a/platform/platform-tests/testSrc/com/intellij/codeInsight/inline/completion/logs/TestInlineCompletionLogs.kt +++ b/platform/platform-tests/testSrc/com/intellij/codeInsight/inline/completion/logs/TestInlineCompletionLogs.kt @@ -19,8 +19,7 @@ import kotlin.test.assertTrue @ApiStatus.Internal object TestInlineCompletionLogs { private fun getSessionLogs(events: List): List = events.filter { - it.group.id == InlineCompletionLogs.GROUP.id - it.event.id == InlineCompletionLogs.Session.SESSION_EVENT.eventId + it.group.id == InlineCompletionLogs.GROUP.id && it.event.id == InlineCompletionLogs.Session.SESSION_EVENT.eventId } /**