Skip to content

Commit 8ee7c7e

Browse files
committed
use SparkFunSuite
1 parent e112394 commit 8ee7c7e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

mllib/src/test/scala/org/apache/spark/ml/feature/StringIndexerSuite.scala

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,11 @@
1717

1818
package org.apache.spark.ml.feature
1919

20-
import org.scalatest.FunSuite
21-
20+
import org.apache.spark.SparkFunSuite
2221
import org.apache.spark.ml.attribute.{Attribute, NominalAttribute}
2322
import org.apache.spark.mllib.util.MLlibTestSparkContext
2423

25-
class StringIndexerSuite extends FunSuite with MLlibTestSparkContext {
24+
class StringIndexerSuite extends SparkFunSuite with MLlibTestSparkContext {
2625

2726
test("StringIndexer") {
2827
val data = sc.parallelize(Seq((0, "a"), (1, "b"), (2, "c"), (3, "a"), (4, "a"), (5, "c")), 2)

0 commit comments

Comments
 (0)