From 02764eecc0ab48346607d67d837565590e4f5227 Mon Sep 17 00:00:00 2001 From: Bartek Pacia Date: Wed, 25 Jun 2025 11:20:06 +0200 Subject: [PATCH] [ByteCodeViewer] Fix typo in getSelectinFromSource method name GitOrigin-RevId: a28691746db891795e729d7aca0dbdca147764ef --- .../com/intellij/byteCodeViewer/BytecodeLineMappingTest.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/ByteCodeViewer/test/com/intellij/byteCodeViewer/BytecodeLineMappingTest.kt b/plugins/ByteCodeViewer/test/com/intellij/byteCodeViewer/BytecodeLineMappingTest.kt index f1c76e50c6eb..91c08e83ea55 100644 --- a/plugins/ByteCodeViewer/test/com/intellij/byteCodeViewer/BytecodeLineMappingTest.kt +++ b/plugins/ByteCodeViewer/test/com/intellij/byteCodeViewer/BytecodeLineMappingTest.kt @@ -6,7 +6,7 @@ import com.intellij.testFramework.PlatformTestUtil import com.intellij.testFramework.fixtures.BasePlatformTestCase class BytecodeLineMappingTest : BasePlatformTestCase() { - private fun getSelectinFromSource(text: String): Pair { + private fun getSelectionFromSource(text: String): Pair { myFixture.configureByText(getTestName(false) + ".java", text) val sourceDocument = myFixture.editor.document @@ -24,7 +24,7 @@ class BytecodeLineMappingTest : BasePlatformTestCase() { showDebugInfo: Boolean, expectedBytecodeSelection: String, ) { - val (startLine, endLine) = getSelectinFromSource(sourceWithSelection) + val (startLine, endLine) = getSelectionFromSource(sourceWithSelection) assertEquals(fixture.source, myFixture.editor.document.text) // ensure consistency assertEquals(fixture.bytecode, removeDebugInfo(fixture.bytecodeWithDebugInfo)) // ensure consistency