Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
bowenliang123 committed Sep 21, 2023
1 parent 30c778d commit 27028b1
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -370,16 +370,14 @@ class SparkProcessBuilderSuite extends KerberizedTestHelper with MockitoSugar {
"spark-core_2.13-3.5.0-abc-20230921.jar",
"spark-core_2.13-3.5.0-xyz-1.2.3.jar",
"spark-core_2.13-3.5.0.1.jar",
"spark-core_2.13.2-3.5.0.jar")
.map(Seq(_)).foreach(f =>
assertResult("2.13")(builder.extractSparkCoreScalaVersion(f)))
"spark-core_2.13.2-3.5.0.jar").map(Seq(_)).foreach(f =>
assertResult("2.13")(builder.extractSparkCoreScalaVersion(f)))

Seq(
"spark-dummy_2.13-3.5.0.jar",
"spark-core_2.13-3.5.0.1.zip",
"yummy-spark-core_2.13-3.5.0.jar")
.map(Seq(_)).foreach(f =>
assertThrows[KyuubiException](builder.extractSparkCoreScalaVersion(f)))
"yummy-spark-core_2.13-3.5.0.jar").map(Seq(_)).foreach(f =>
assertThrows[KyuubiException](builder.extractSparkCoreScalaVersion(f)))
}
}

Expand Down

0 comments on commit 27028b1

Please sign in to comment.