aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorFerenc Wagner <wferi@niif.hu>2007-10-06 21:12:31 +0200
committerFerenc Wagner <wferi@niif.hu>2007-10-06 21:12:31 +0200
commit9d0ea43025822fc4585dfd0b40014dc4e892f90d (patch)
tree8205fc80846415ecba9f85601cb2239cd17afeee /tests
parent5c1619101354b86fb4dc27632b13c2f6f8fb4459 (diff)
downloadxmonad-9d0ea43025822fc4585dfd0b40014dc4e892f90d.tar.gz
xmonad-9d0ea43025822fc4585dfd0b40014dc4e892f90d.tar.xz
xmonad-9d0ea43025822fc4585dfd0b40014dc4e892f90d.zip
The empty line isntcomment.
There is a separate filter for that case. darcs-hash:20071006191231-e7ae2-b8b0c7acd3cdf6119ef6d40cc08f8d054838c306.gz
Diffstat (limited to 'tests')
-rw-r--r--tests/loc.hs1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/loc.hs b/tests/loc.hs
index 3edc60b..09399ea 100644
--- a/tests/loc.hs
+++ b/tests/loc.hs
@@ -9,7 +9,6 @@ main = do foo <- getContents
-- uncomment the following to check for mistakes in isntcomment
-- putStr $ unlines $ actual_loc
-isntcomment "" = False
isntcomment ('-':'-':_) = False
isntcomment ('{':'-':_) = False -- pragmas
isntcomment _ = True