test(SemVer): fix Arbitrary SemVer.Version to account for invalid Ord instance

This commit is contained in:
Steffen Jost 2022-08-31 10:12:27 +02:00
parent f8afca0598
commit a0d64dff3a

View File

@ -363,7 +363,7 @@ instance Arbitrary SemVer.Version where
<*> fmap getNonNegative arbitrary
<*> fmap getNonNegative arbitrary
<*> arbitrary
<*> arbitrary
<*> mempty -- Ord SemVer.Version ignores Metadata, so the Ord properties don't hold
instance Arbitrary SemVer.Identifier where
arbitrary = -- oneof