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
arbitrary = oneof
[ htmlToStoredMarkup <$> arbitrary
, (plaintextToStoredMarkup :: Text -> StoredMarkup) <$> arbitrary
, plaintextToStoredMarkup . getPrintableString <$> arbitrary
]
instance Arbitrary OccurrenceSchedule where