chore: fix arbitrary instance for storable markup

This commit is contained in:
Gregor Kleen 2020-11-06 21:11:26 +01:00
parent e25e8a2f4c
commit d20d8a1505

View File

@ -220,7 +220,7 @@ instance Arbitrary Html where
instance Arbitrary StoredMarkup where instance Arbitrary StoredMarkup where
arbitrary = oneof arbitrary = oneof
[ htmlToStoredMarkup <$> arbitrary [ htmlToStoredMarkup <$> arbitrary
, (plaintextToStoredMarkup :: Text -> StoredMarkup) <$> arbitrary , plaintextToStoredMarkup . getPrintableString <$> arbitrary
] ]
instance Arbitrary OccurrenceSchedule where instance Arbitrary OccurrenceSchedule where