mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-04 22:21:56 -07:00
tests: Fix build with GHC 9
Related: https://github.com/xmonad/xmonad/issues/283
This commit is contained in:
@@ -59,7 +59,7 @@ prop_aspect_fits =
|
|||||||
|
|
||||||
where pos = choose (0, 65535)
|
where pos = choose (0, 65535)
|
||||||
|
|
||||||
prop_point_within r @ (Rectangle x y w h) =
|
prop_point_within r@(Rectangle x y w h) =
|
||||||
forAll ((,) <$>
|
forAll ((,) <$>
|
||||||
choose (0, fromIntegral w - 1) <*>
|
choose (0, fromIntegral w - 1) <*>
|
||||||
choose (0, fromIntegral h - 1)) $
|
choose (0, fromIntegral h - 1)) $
|
||||||
|
Reference in New Issue
Block a user