Skip to content

Commit 8a3c541

Browse files
committed
Inline Gen.resultOf since calling it broke continuous integration
1 parent 28ab137 commit 8a3c541

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/scala/org/scalacheck/commands/CommandsShrinkSpecification.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ object CommandsShrinkSpecification extends Properties("Commands Shrinking") {
109109
Gen.const(Capacity),
110110
Gen.const(Size),
111111
Gen.const(Dequeue),
112-
Gen.resultOf(Enqueue)
112+
Arbitrary.arbitrary[Element].map(Enqueue(_))
113113
).retryUntil(_.preCondition(state), 100)
114114

115115
def newSut(state: State): Sut =

0 commit comments

Comments
 (0)