From ed460473328a4d8972e12c37acdf07ec5fd6b86e Mon Sep 17 00:00:00 2001 From: Masayoshi TSUZUKI Date: Mon, 11 May 2015 10:58:17 +0900 Subject: [PATCH] avoid scalastyle errors. --- .../scala/org/apache/spark/deploy/PythonRunnerSuite.scala | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/src/test/scala/org/apache/spark/deploy/PythonRunnerSuite.scala b/core/src/test/scala/org/apache/spark/deploy/PythonRunnerSuite.scala index ded049a6942f6..40000ee7101b9 100644 --- a/core/src/test/scala/org/apache/spark/deploy/PythonRunnerSuite.scala +++ b/core/src/test/scala/org/apache/spark/deploy/PythonRunnerSuite.scala @@ -32,7 +32,8 @@ class PythonRunnerSuite extends FunSuite { assert(PythonRunner.formatPath("file:/C:/a/b/spark.py", testWindows = true) === "C:/a/b/spark.py") if (Utils.isWindows) { - assert(PythonRunner.formatPath("C:\\a\\b\\spark.py", testWindows = true) === "C:/a/b/spark.py") + assert(PythonRunner.formatPath("C:\\a\\b\\spark.py", testWindows = true) === + "C:/a/b/spark.py") assert(PythonRunner.formatPath("C:\\a b\\spark.py", testWindows = true) === "C:/a b/spark.py") } @@ -54,7 +55,8 @@ class PythonRunnerSuite extends FunSuite { Array("C:/a/b/spark.py")) assert(PythonRunner.formatPaths("C:\\free.py,pie.py", testWindows = true) === Array("C:/free.py", "pie.py")) - assert(PythonRunner.formatPaths("lovely.py,C:\\free.py,file:/d:/fry.py", testWindows = true) === + assert(PythonRunner.formatPaths("lovely.py,C:\\free.py,file:/d:/fry.py", + testWindows = true) === Array("lovely.py", "C:/free.py", "d:/fry.py")) } intercept[IllegalArgumentException] { PythonRunner.formatPaths("one:two,three") }