summaryrefslogtreecommitdiff
path: root/Logs.hs
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2014-02-11 01:35:11 -0400
committerJoey Hess <joey@kitenet.net>2014-02-11 10:48:52 -0400
commit40cec65acecd8209bbe6281772fb580776966096 (patch)
tree74a8378b7f75120a876099191f34516bcee963b3 /Logs.hs
parent4515fa10aa1d87d25945dd81c83dec5de8b279ec (diff)
more hlint
Diffstat (limited to 'Logs.hs')
-rw-r--r--Logs.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Logs.hs b/Logs.hs
index 828a73dc70..1e7a8e8c4e 100644
--- a/Logs.hs
+++ b/Logs.hs
@@ -120,7 +120,7 @@ isRemoteStateLog :: FilePath -> Bool
isRemoteStateLog path = remoteStateLogExt `isSuffixOf` path
prop_logs_sane :: Key -> Bool
-prop_logs_sane dummykey = all id
+prop_logs_sane dummykey = and
[ isNothing (getLogVariety "unknown")
, expect isUUIDBasedLog (getLogVariety uuidLog)
, expect isPresenceLog (getLogVariety $ locationLogFile dummykey)