File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
core/src/test/scala/com/github/simy4/coregex/core Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -71,14 +71,14 @@ trait CoregexArbitraries {
7171 } yield new Coregex .Concat (first, rest : _* )
7272
7373 implicit val arbitraryCoregexRef : Arbitrary [Coregex .Ref ] = Arbitrary (genCoregexRef)
74- def genCoregexRef : Gen [Coregex .Ref ] =
74+ def genCoregexRef : Gen [Coregex .Ref ] =
7575 for {
7676 fst <- Gen .alphaChar
7777 size <- Gen .size
7878 rest <- Gen .listOfN(size % 10 , Gen .alphaNumChar)
7979 } yield new Coregex .Ref (rest.mkString(fst.toString, " " , " " ))
8080
81- implicit val arbitrarySet : Arbitrary [Set ] = Arbitrary (genSet())
81+ implicit val arbitrarySet : Arbitrary [Set ] = Arbitrary (genSet())
8282 def genSet (charGen : Gen [Char ] = Gen .asciiPrintableChar): Gen [Set ] = Gen .recursive[Set ] { fix =>
8383 Gen .oneOf(
8484 for (flags <- genFlags; ch <- charGen; rest <- Gen .stringOf(charGen))
@@ -89,7 +89,7 @@ trait CoregexArbitraries {
8989 )
9090 }
9191
92- implicit val arbitraryCoregexUnion : Arbitrary [Coregex .Union ] = Arbitrary (genCoregexUnion())
92+ implicit val arbitraryCoregexUnion : Arbitrary [Coregex .Union ] = Arbitrary (genCoregexUnion())
9393 def genCoregexUnion (charGen : Gen [Char ] = Gen .alphaNumChar): Gen [Coregex .Union ] =
9494 for {
9595 first <- Gen .sized(h => Gen .resize(h / 4 , genCoregex(charGen)))
You can’t perform that action at this time.
0 commit comments