Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
DB Tsai committed Jun 2, 2015
1 parent 6bb6d77 commit e7ca406
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class ParamsSuite extends SparkFunSuite {

solver.setMaxIter(5)
assert(solver.explainParam(maxIter) ===
"maxIter: max number of iterations (>= 0) (default: 10, current: 5)")
"maxIter: maximum number of iterations (>= 0) (default: 10, current: 5)")

assert(inputCol.toString === s"${uid}__inputCol")

Expand Down Expand Up @@ -120,7 +120,7 @@ class ParamsSuite extends SparkFunSuite {
intercept[NoSuchElementException](solver.getInputCol)

assert(solver.explainParam(maxIter) ===
"maxIter: max number of iterations (>= 0) (default: 10, current: 100)")
"maxIter: maximum number of iterations (>= 0) (default: 10, current: 100)")
assert(solver.explainParams() ===
Seq(inputCol, maxIter).map(solver.explainParam).mkString("\n"))

Expand Down

0 comments on commit e7ca406

Please sign in to comment.