aboutsummaryrefslogtreecommitdiffstats
path: root/tests/loc.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/loc.hs')
-rw-r--r--tests/loc.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/loc.hs b/tests/loc.hs
index 09399ea..238204a 100644
--- a/tests/loc.hs
+++ b/tests/loc.hs
@@ -5,9 +5,9 @@ main = do foo <- getContents
let actual_loc = filter (not.null) $ filter isntcomment $
map (dropWhile (==' ')) $ lines foo
loc = length actual_loc
- putStrLn $ show loc
+ print loc
-- uncomment the following to check for mistakes in isntcomment
- -- putStr $ unlines $ actual_loc
+ -- print actual_loc
isntcomment ('-':'-':_) = False
isntcomment ('{':'-':_) = False -- pragmas