mirror of
https://github.com/typeable/bloodhound.git
synced 2024-09-11 08:25:32 +03:00
Resized arbitrary instance for UpdatableIndexSetting\'
This commit is contained in:
parent
b9139e9331
commit
4b8dcea66a
@ -462,9 +462,6 @@ makeArbitrary ''Analysis
|
||||
instance Arbitrary Analysis where arbitrary = arbitraryAnalysis
|
||||
makeArbitrary ''Tokenizer
|
||||
instance Arbitrary Tokenizer where arbitrary = arbitraryTokenizer
|
||||
makeArbitrary ''UpdatableIndexSetting
|
||||
instance Arbitrary UpdatableIndexSetting where
|
||||
arbitrary = arbitraryUpdatableIndexSetting
|
||||
makeArbitrary ''Compression
|
||||
instance Arbitrary Compression where arbitrary = arbitraryCompression
|
||||
makeArbitrary ''Bytes
|
||||
@ -534,6 +531,10 @@ instance Arbitrary FactorMissingFieldValue where arbitrary = arbitraryFactorMiss
|
||||
makeArbitrary ''FactorModifier
|
||||
instance Arbitrary FactorModifier where arbitrary = arbitraryFactorModifier
|
||||
|
||||
makeArbitrary ''UpdatableIndexSetting
|
||||
instance Arbitrary UpdatableIndexSetting where
|
||||
arbitrary = resize 10 arbitraryUpdatableIndexSetting
|
||||
|
||||
newtype UpdatableIndexSetting' =
|
||||
UpdatableIndexSetting' UpdatableIndexSetting
|
||||
deriving (Show, Eq, ToJSON, FromJSON, ApproxEq, Typeable)
|
||||
|
Loading…
Reference in New Issue
Block a user