Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiaweihu08 committed Oct 26, 2023
1 parent c92cc52 commit 90c59e6
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ class TransformerTest extends AnyFlatSpec with Matchers {
Transformer(columnName, dataType).spec shouldBe "a:linear"
Transformer("linear", columnName, dataType).spec shouldBe "a:linear"
Transformer("hashing", columnName, dataType).spec shouldBe "a:hashing"
Transformer("histogram", columnName, dataType).spec shouldBe "a:histogram"

an[Exception] should be thrownBy Transformer("histogram", columnName, dataType).spec

an[NoSuchElementException] should be thrownBy Transformer(
"another",
columnName,
Expand Down

0 comments on commit 90c59e6

Please sign in to comment.