Skip to content

Commit 1c2138c

Browse files
committed
remove unused assignments
1 parent 2c7d615 commit 1c2138c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/test/dotty/tools/scripting/BashExitCodeTests.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ object BashExitCodeTests:
4747
val testClassFile = temporaryDir.files.find(_.getName == s"$className.class")
4848
assert(testClassFile.isDefined)
4949
val commandline = (Seq(scalaPath, "-classpath", temporaryDir.absPath, className)).mkString(" ")
50-
val (validTest, exitCode, o, e) = bashCommand(commandline)
50+
val (validTest, exitCode, _, _) = bashCommand(commandline)
5151
if verifyValid(validTest) then
5252
assertEquals(expectedExitCode, exitCode)
5353

@@ -74,7 +74,7 @@ object BashExitCodeTests:
7474
*/
7575
private def testCommandExitCode(args: Seq[String], expectedExitCode: Int): Unit =
7676
val commandline = args.mkString(" ")
77-
val (validTest, exitCode, output, erroutput) = bashCommand(commandline)
77+
val (validTest, exitCode, _, _) = bashCommand(commandline)
7878
if verifyValid(validTest) then
7979
assertEquals(expectedExitCode, exitCode)
8080

0 commit comments

Comments
 (0)