Skip to content

Commit 1f22f54

Browse files
committed
Fix cast
1 parent 2e5ae44 commit 1f22f54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/scala/com/sparklingpandas/sparklingml/feature/LuceneBaseTests.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ abstract class LuceneStopwordTransformerTest[T <: LuceneTransformer[_]] extends
5252
val thst = transformer.asInstanceOf[HasStopwords]
5353
thst.set(thst.stopwords, Array("boo"))
5454
thst.setStopwords(Array("boop"))
55-
transformer.asInstanceOf[FinnishAnalyzerLucene].setInputCol("input")
55+
transformer.asInstanceOf[T].setInputCol("input")
5656
val result = transformer.transform(input).collect()
5757
assert(result.size === 3)
5858
assert(result(2).getSeq(1).isEmpty)

0 commit comments

Comments
 (0)