From c82c8cb7d85ad5307b69d61daaaee8afb61319d5 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 (cherry picked from commit d7d182d2228a1586f02560e2586dcc606b7541c4) IJ-CR-183016 GitOrigin-RevId: 77fc9d3e0675c9095d93eb3e6681ce09bdbd4404 --- .../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 } /**