[Git][ghc/ghc][wip/T24040-ghci-timeout-squashed] finicky little tests.
Hassan Al-Awwadi (@hassan.awwadi)
gitlab at gitlab.haskell.org
Mon Feb 5 17:37:08 UTC 2024
Hassan Al-Awwadi pushed to branch wip/T24040-ghci-timeout-squashed at Glasgow Haskell Compiler / GHC
Commits:
630406a3 by Hassan Al-Awwadi at 2024-02-05T18:32:00+01:00
finicky little tests.
- - - - -
1 changed file:
- testsuite/tests/ghci/scripts/T24040.hs
Changes:
=====================================
testsuite/tests/ghci/scripts/T24040.hs
=====================================
@@ -1,5 +1,5 @@
module T24040 where
import Control.Concurrent(threadDelay)
-delayNSeconds :: Int -> IO String
-delayNSeconds n = threadDelay (n * 1000000) >> pure ("Finished in: " ++ show n ++ " seconds")
+delayNSeconds :: Int -> IO ()
+delayNSeconds n = threadDelay (n * 1000000) >> putStrLn ("Finished in: " ++ show n ++ " seconds")
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/630406a3edf680edf5193fc8a7337e861c5be8cf
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/630406a3edf680edf5193fc8a7337e861c5be8cf
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20240205/af18ace7/attachment.html>
More information about the ghc-commits
mailing list