summaryrefslogtreecommitdiff
path: root/libraries/base/tests
diff options
context:
space:
mode:
authorHécate <hecate+gitlab@glitchbra.in>2020-09-26 17:15:10 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-10-09 08:44:26 -0400
commitf7e2fff96975128397e2dab7d57da3c9c6b8c76b (patch)
treec1aaa7d3750531a648787c075b804f242d28e589 /libraries/base/tests
parente48cab2a57f2342891f985bcb44817e17e985275 (diff)
downloadhaskell-f7e2fff96975128397e2dab7d57da3c9c6b8c76b.tar.gz
Add linting of `base` to the CI
Diffstat (limited to 'libraries/base/tests')
-rw-r--r--libraries/base/tests/Concurrent/ThreadDelay001.hs5
1 files changed, 4 insertions, 1 deletions
diff --git a/libraries/base/tests/Concurrent/ThreadDelay001.hs b/libraries/base/tests/Concurrent/ThreadDelay001.hs
index 21bc1178dc..19659faaf7 100644
--- a/libraries/base/tests/Concurrent/ThreadDelay001.hs
+++ b/libraries/base/tests/Concurrent/ThreadDelay001.hs
@@ -1,5 +1,7 @@
-{-# LANGUAGE CPP #-}
{-# LANGUAGE BangPatterns #-}
+{-# LANGUAGE CPP #-}
+{-# HLINT ignore "Unused LANGUAGE pragma" #-}
+
-- Test that threadDelay actually sleeps for (at least) as long as we
-- ask it
@@ -16,6 +18,7 @@ import Data.Time
#if defined(mingw32_HOST_OS)
import GHC.Event.Windows.Clock
#endif
+
main :: IO ()
main = mapM_ delay (0 : take 7 (iterate (*5) 100))