Skip to content

Commit

Permalink
Small tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
sjakobi committed May 6, 2022
1 parent 06d46ce commit 45c51bb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions tests/Properties/HashMapLazy.hs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{-# LANGUAGE CPP #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE NoMonomorphismRestriction #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TypeApplications #-}
{-# OPTIONS_GHC -fno-warn-orphans #-} -- because of Arbitrary (HashMap k v)

-- | Tests for "Data.HashMap.Lazy" and "Data.HashMap.Strict". We test functions by
Expand Down
2 changes: 1 addition & 1 deletion tests/Util/Key.hs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ instance Arbitrary Key where
arbitraryHash :: Gen Int
arbitraryHash = do
let gens =
[ (2, (fromIntegral . QC.getLarge) <$> arbitrary @(Large Word16))
[ (2, fromIntegral . QC.getLarge <$> arbitrary @(Large Word16))
, (1, QC.getSmall <$> arbitrary)
, (1, QC.getLarge <$> arbitrary)
]
Expand Down

0 comments on commit 45c51bb

Please sign in to comment.