Skip to content

Commit 825f3f3

Browse files
committed
yet another compile and style fix for unit test
1 parent 50cd119 commit 825f3f3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

core/src/test/scala/org/apache/spark/SparkContextSuite.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -284,15 +284,15 @@ class SparkContextSuite extends SparkFunSuite with LocalSparkContext {
284284
var targetPath = mockPath + "textFile"
285285
assert(sc.textFile(targetPath).name == targetPath)
286286

287-
targetPath = mockPath + "wholeTextFile"
288-
assert(sc.wholeTextFile(targetPath).name == targetPath)
287+
targetPath = mockPath + "wholeTextFiles"
288+
assert(sc.wholeTextFiles(targetPath).name == targetPath)
289289

290290
targetPath = mockPath + "binaryFiles"
291291
assert(sc.binaryFiles(targetPath).name == targetPath)
292-
292+
293293
targetPath = mockPath + "hadoopFile"
294294
assert(sc.hadoopFile(targetPath).name == targetPath)
295-
295+
296296
targetPath = mockPath + "newAPIHadoopFile"
297297
assert(sc.newAPIHadoopFile(targetPath).name == targetPath)
298298

0 commit comments

Comments
 (0)