aboutsummaryrefslogtreecommitdiffstats
path: root/tests/Instances.hs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-02-21 14:37:02 +0100
committertv <tv@krebsco.de>2026-02-21 22:22:17 +0100
commitc08122e28eca9df17570cac186cc5cb23f044cf6 (patch)
tree80b889c81d377a4fb2bb7d6372032744ec60a535 /tests/Instances.hs
parentcf94f42c6f67f7b99240b06b6e89fddf4df15bd4 (diff)
add G4fClient.Model.AnyType
Diffstat (limited to 'tests/Instances.hs')
-rw-r--r--tests/Instances.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/Instances.hs b/tests/Instances.hs
index 33459bc..c7a3624 100644
--- a/tests/Instances.hs
+++ b/tests/Instances.hs
@@ -113,6 +113,9 @@ arbitraryReducedMaybeValue n = do
-- * Models
+instance Arbitrary AnyType where
+ arbitrary = AnyType <$> arbitrary
+
instance Arbitrary ApiKey where
arbitrary = sized genApiKey