mirror of
https://github.com/xmonad/xmonad.git
synced 2025-07-25 17:21:52 -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)
|
||||
|
||||
prop_point_within r @ (Rectangle x y w h) =
|
||||
prop_point_within r@(Rectangle x y w h) =
|
||||
forAll ((,) <$>
|
||||
choose (0, fromIntegral w - 1) <*>
|
||||
choose (0, fromIntegral h - 1)) $
|
||||
|
Reference in New Issue
Block a user