Skip to content

Commit 68a9e3f

Browse files
ligeeSpace Team
authored andcommitted
[minor] fix testdata name in explain test
1 parent 063673b commit 68a9e3f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

plugins/scripting/scripting-compiler/testData/compiler/explain/objectLiteral.explain

Whitespace-only changes.

plugins/scripting/scripting-compiler/tests/org/jetbrains/kotlin/scripting/compiler/plugin/ScriptingWithExplanationCompilerTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ class ScriptingWithExplanationCompilerTest {
131131

132132
@Test // KT-85105
133133
fun testScriptExplainWithObjectLiteral() {
134-
runScriptAndValidateExplain("$TEST_DATA_DIR/destructuringDecls.kts", expectedExitCode = ExitCode.COMPILATION_ERROR)
134+
runScriptAndValidateExplain("$TEST_DATA_DIR/objectLiteral.kts", expectedExitCode = ExitCode.COMPILATION_ERROR)
135135
}
136136
}
137137

@@ -149,7 +149,7 @@ private fun runScriptAndValidateExplain(
149149
val explainExpectedFile = dir.resolve("$baseName.explain")
150150

151151
withTempFile { tempExplainFile ->
152-
val (_, err, ret) = captureOutErrRet {
152+
val (out, err, ret) = captureOutErrRet {
153153
runScriptWithExplain(scriptPath, tempExplainFile.absolutePath)
154154
}
155155
assertEquals(expectedExitCode, ret) { "Expected exit code $expectedExitCode, actual $ret\n$err" }

0 commit comments

Comments
 (0)