LLM-18992 [ai-next-edit] fix logs collection in inline completion tests

GitOrigin-RevId: d7d182d2228a1586f02560e2586dcc606b7541c4
This commit is contained in:
Kirill.Karnaukhov
2025-11-19 15:39:57 +00:00
committed by intellij-monorepo-bot
parent 221e0b66da
commit cd8bedca31
@@ -19,8 +19,7 @@ import kotlin.test.assertTrue
@ApiStatus.Internal
object TestInlineCompletionLogs {
private fun getSessionLogs(events: List<LogEvent>): List<LogEvent> = 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
}
/**