Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update irrec-regex-gen to 0.3.0 #425

Merged
merged 2 commits into from
Sep 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ val scalatest = "3.1.2"
val scalatestplus = "3.1.0.0-RC2"
val shapeless = "2.3.3"
val scalacheck = "1.14.3"
val irrecVersion = "0.2.1"
val irrecVersion = "0.3.0"

lazy val root = Project("frameless", file("." + "frameless")).in(file("."))
.aggregate(core, cats, dataset, ml, docs)
Expand Down
5 changes: 2 additions & 3 deletions dataset/src/test/scala/frameless/ColumnTests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ import org.scalacheck.Prop._
import org.scalacheck.{Arbitrary, Gen, Prop}, Arbitrary.arbitrary
import org.scalatest.matchers.should.Matchers
import shapeless.test.illTyped
import ceedubs.irrec.regex._
import ceedubs.irrec.regex.CharRegexGen.genCharRegexAndCandidate
import ceedubs.irrec.regex.gen.CharRegexGen.genCharRegexAndCandidate

import scala.math.Ordering.Implicits._

Expand Down Expand Up @@ -198,7 +197,7 @@ class ColumnTests extends TypedDatasetSuite with Matchers {
import spark.implicits._

check {
forAll(genCharRegexAndCandidate, arbitrary[String]) { (r, b) =>
forAll(genCharRegexAndCandidate[Char], arbitrary[String]) { (r, b) =>
val a = r.candidate.mkString
val ds = TypedDataset.create(X2(a, b) :: Nil)

Expand Down