Skip to content

Commit 270955b

Browse files
committed
More README updates. Code cleanup.
1 parent 765aa0f commit 270955b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ var seed = ThreadLocalRandom.current().nextLong();
3636
assert pattern.matcher(coregex.generate(seed)).matches();
3737
```
3838

39+
Given the library is primarily intended to be used in property based testing, it comes with a set of integrations for popular
40+
property based testing frameworks.
41+
3942
## Functionaljava Quickcheck
4043
Include the following dependency into your project:
4144

functionaljava-quickcheck/src/main/java/com/github/simy4/coregex/functionaljava/quickcheck/CoregexArbitrary.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ public static Gen<String> gen(Pattern pattern) {
3737

3838
public static Shrink<String> shrink(Pattern pattern) {
3939
Stream<? extends Coregex> shrinks =
40-
Stream.iteratorStream(
41-
com.github.simy4.coregex.core.Coregex.from(pattern).shrink().iterator());
40+
Stream.iteratorStream(Coregex.from(pattern).shrink().iterator());
4241
return Shrink.shrink(
4342
larger ->
4443
shrinks

0 commit comments

Comments
 (0)