Skip to content

Commit

Permalink
chore: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jachro committed Jan 29, 2024
1 parent 5cf9fff commit 8151510
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ import org.scalacheck.Gen
object SearchSolrClientGenerators:

def projectDocumentGen(name: String, desc: String): Gen[Project] =
Gen.uuid.map(uuid =>
Project(uuid.toString, name, desc)
)
Gen.uuid.map(uuid => Project(uuid.toString, name, desc))

extension [V](gen: Gen[V]) def generateOne: V = gen.sample.getOrElse(generateOne)

0 comments on commit 8151510

Please sign in to comment.