mirror of https://github.com/sbt/sbt.git
Make scoped keys more frequent
This commit is contained in:
parent
74ac7d9e07
commit
fb28c201c8
|
|
@ -59,7 +59,7 @@ object BuildDSLInstances {
|
|||
|
||||
def withScope[K <: Scoped.ScopingSetting[K]](keyGen: Gen[K]): Arbitrary[K] =
|
||||
Arbitrary(Gen.frequency(
|
||||
50 -> keyGen,
|
||||
5 -> keyGen,
|
||||
1 -> (for (key <- keyGen; scope <- arbitrary[Scope]) yield key in scope)
|
||||
))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue