Skip to content

Commit

Permalink
use SparkFunSuite
Browse files Browse the repository at this point in the history
  • Loading branch information
mengxr committed Jun 2, 2015
1 parent e112394 commit 8ee7c7e
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,11 @@

package org.apache.spark.ml.feature

import org.scalatest.FunSuite

import org.apache.spark.SparkFunSuite
import org.apache.spark.ml.attribute.{Attribute, NominalAttribute}
import org.apache.spark.mllib.util.MLlibTestSparkContext

class StringIndexerSuite extends FunSuite with MLlibTestSparkContext {
class StringIndexerSuite extends SparkFunSuite with MLlibTestSparkContext {

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

0 comments on commit 8ee7c7e

Please sign in to comment.