Skip to content

Commit ed46047

Browse files
committed
avoid scalastyle errors.
1 parent 1784239 commit ed46047

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

core/src/test/scala/org/apache/spark/deploy/PythonRunnerSuite.scala

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ class PythonRunnerSuite extends FunSuite {
3232
assert(PythonRunner.formatPath("file:/C:/a/b/spark.py", testWindows = true) ===
3333
"C:/a/b/spark.py")
3434
if (Utils.isWindows) {
35-
assert(PythonRunner.formatPath("C:\\a\\b\\spark.py", testWindows = true) === "C:/a/b/spark.py")
35+
assert(PythonRunner.formatPath("C:\\a\\b\\spark.py", testWindows = true) ===
36+
"C:/a/b/spark.py")
3637
assert(PythonRunner.formatPath("C:\\a b\\spark.py", testWindows = true) ===
3738
"C:/a b/spark.py")
3839
}
@@ -54,7 +55,8 @@ class PythonRunnerSuite extends FunSuite {
5455
Array("C:/a/b/spark.py"))
5556
assert(PythonRunner.formatPaths("C:\\free.py,pie.py", testWindows = true) ===
5657
Array("C:/free.py", "pie.py"))
57-
assert(PythonRunner.formatPaths("lovely.py,C:\\free.py,file:/d:/fry.py", testWindows = true) ===
58+
assert(PythonRunner.formatPaths("lovely.py,C:\\free.py,file:/d:/fry.py",
59+
testWindows = true) ===
5860
Array("lovely.py", "C:/free.py", "d:/fry.py"))
5961
}
6062
intercept[IllegalArgumentException] { PythonRunner.formatPaths("one:two,three") }

0 commit comments

Comments
 (0)