summaryrefslogtreecommitdiffstats
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
commitc16f56afd0f109db8f9faa3536ae94d4ba911795 (patch)
tree8205fc80846415ecba9f85601cb2239cd17afeee /tests
parente72292fde142119b19812f4293d6ecb4a6e9732e (diff)
downloadmetatile-c16f56afd0f109db8f9faa3536ae94d4ba911795.tar
metatile-c16f56afd0f109db8f9faa3536ae94d4ba911795.zip
The empty line isntcomment.
There is a separate filter for that case. darcs-hash:20071006191231-e7ae2-b8b0c7acd3cdf6119ef6d40cc08f8d054838c306
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