aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDavid Waern <david.waern@gmail.com>2012-02-04 03:21:12 +0100
committerDavid Waern <david.waern@gmail.com>2012-02-04 03:21:12 +0100
commit8b5294785bb5bbe2de738e03c3961a4317ffcf86 (patch)
tree2136252833841e3d2a602f07598523b0e34f9412 /tests
parentca8ca8b26fd06b36f75a817f0aa51e05ec67dd8c (diff)
Use mapM_ in accept.hs as well.
Diffstat (limited to 'tests')
-rw-r--r--tests/html-tests/accept.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/html-tests/accept.hs b/tests/html-tests/accept.hs
index fe1e5422..49da5c5a 100644
--- a/tests/html-tests/accept.hs
+++ b/tests/html-tests/accept.hs
@@ -13,9 +13,9 @@ main = do
contents <- getDirectoryContents (dir </> "output")
if not $ null args
then
- mapM copy [ "output" </> file | file <- contents, ".html" `isSuffixOf` file, takeBaseName file `elem` args ]
+ mapM_ copy [ "output" </> file | file <- contents, ".html" `isSuffixOf` file, takeBaseName file `elem` args ]
else
- mapM copy [ "output" </> file | file <- contents, ".html" `isSuffixOf` file ]
+ mapM_ copy [ "output" </> file | file <- contents, ".html" `isSuffixOf` file ]
copy file = do