Skip to content

Commit

Permalink
Stash
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasT committed Apr 2, 2024
1 parent 15afa8f commit f4ad3aa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion landlock/landlock.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ test-suite landlock-test
, filepath ^>=1.4.2.1 || ^>=1.5
, landlock
, landlock-internal
, network ^>=3.1.4.0
, process ^>=1.6.9.0
, QuickCheck ^>=2.14.2
, quickcheck-classes-base ^>=0.6.2.0
Expand Down
3 changes: 1 addition & 2 deletions landlock/test/landlock-test.hs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import Control.Exception.Base (handleJust)
import Control.Monad (unless)
import Data.List (nub, sort, (\\))
import Data.Proxy (Proxy (Proxy))
import Network.Socket (PortNumber)
import System.Environment (lookupEnv)
import System.Exit (ExitCode (..))
import System.FilePath ((</>))
Expand Down Expand Up @@ -181,7 +180,7 @@ instance Arbitrary (Rule 'PathBeneath) where
instance Arbitrary (Rule 'NetPort) where
arbitrary =
netPort
<$> fmap (fromIntegral :: Int -> PortNumber) arbitrary
<$> arbitraryBoundedEnum
<*> fmap (nub . sort) arbitrary

instance Arbitrary AccessFsFlag where
Expand Down

0 comments on commit f4ad3aa

Please sign in to comment.