Skip to content

Commit

Permalink
fix: Make whitespaceChars private
Browse files Browse the repository at this point in the history
  • Loading branch information
Iltotore committed Apr 5, 2023
1 parent 75eeb0d commit c5ba37d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import org.scalacheck.Gen.Choose

object char:

val whitespaceChars: Seq[Char] = (Char.MinValue to Char.MaxValue).filter(_.isWhitespace)
private val whitespaceChars: Seq[Char] = (Char.MinValue to Char.MaxValue).filter(_.isWhitespace)

inline given whitespace: Arbitrary[Char :| Whitespace] = Arbitrary(Gen.oneOf(whitespaceChars)).asInstanceOf

Expand Down

0 comments on commit c5ba37d

Please sign in to comment.