aboutsummaryrefslogtreecommitdiffstats
path: root/tests/Properties.hs
diff options
context:
space:
mode:
authorAdam Vogt <vogt.adam@gmail.com>2014-05-07 04:49:30 +0200
committerAdam Vogt <vogt.adam@gmail.com>2014-05-07 04:49:30 +0200
commit77983153f9e891f1199c8faa16dcb2a0e8bcbbb9 (patch)
tree000f6d063c9f82a401550c58f2540836995aed6f /tests/Properties.hs
parentf9cef5a2c4fe643f2d2230e3f027e8c9884c7cdb (diff)
downloadxmonad-77983153f9e891f1199c8faa16dcb2a0e8bcbbb9.tar.gz
xmonad-77983153f9e891f1199c8faa16dcb2a0e8bcbbb9.tar.xz
xmonad-77983153f9e891f1199c8faa16dcb2a0e8bcbbb9.zip
make the check for overflow cleaner
Ignore-this: c12448f9219c8a29f2707526691acfda darcs-hash:20140507024930-1499c-52860fb59794c3f370f27158b0936f845fce6ded.gz
Diffstat (limited to 'tests/Properties.hs')
-rw-r--r--tests/Properties.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Properties.hs b/tests/Properties.hs
index b5762d7..e8c4e5a 100644
--- a/tests/Properties.hs
+++ b/tests/Properties.hs
@@ -35,7 +35,7 @@ main = do
Success {} -> return True
_ -> return False
perform (s, t) = printf "%-35s: " s >> qc t
- n <- length . filter not ok <$> mapM perform tests
+ n <- length . filter not <$> mapM perform tests
unless (n == 0) (error (show n ++ " test(s) failed"))
@@ -167,8 +167,8 @@ tests =
,("tile 1 window fullsize", property prop_tile_fullscreen)
,("tiles never overlap", property prop_tile_non_overlap)
- ,("split hozizontally", property prop_split_hoziontal)
- ,("split verticalBy", property prop_splitVertically)
+ ,("split horizontal", property prop_split_horizontal)
+ ,("split vertical", property prop_split_vertical)
,("pure layout tall", property prop_purelayout_tall)
,("send shrink tall", property prop_shrink_tall)