[commit: testsuite] master: BadImport04: Follow changes in base (21a204a)
Ian Lynagh
igloo at earth.li
Sat Feb 16 18:24:36 CET 2013
Repository : ssh://darcs.haskell.org//srv/darcs/testsuite
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/21a204ac56b42db6beffc9d60510f991eba4c2b5
>---------------------------------------------------------------
commit 21a204ac56b42db6beffc9d60510f991eba4c2b5
Author: Ian Lynagh <ian at well-typed.com>
Date: Sat Feb 16 14:07:21 2013 +0000
BadImport04: Follow changes in base
>---------------------------------------------------------------
tests/safeHaskell/unsafeLibs/BadImport04.hs | 4 ++--
tests/safeHaskell/unsafeLibs/BadImport04.stderr | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/safeHaskell/unsafeLibs/BadImport04.hs b/tests/safeHaskell/unsafeLibs/BadImport04.hs
index c22b036..df369f3 100644
--- a/tests/safeHaskell/unsafeLibs/BadImport04.hs
+++ b/tests/safeHaskell/unsafeLibs/BadImport04.hs
@@ -1,8 +1,8 @@
{-# LANGUAGE Safe #-}
--- | Import unsafe module Foreign to make sure it fails
+-- | Import unsafe module System.IO.Unsafe to make sure it fails
module Main where
-import Foreign (unsafePerformIO)
+import System.IO.Unsafe (unsafePerformIO)
f :: Int
f = unsafePerformIO $ putStrLn "What kind of swallow?" >> return 2
diff --git a/tests/safeHaskell/unsafeLibs/BadImport04.stderr b/tests/safeHaskell/unsafeLibs/BadImport04.stderr
index 2c2f3be..e0fa256 100644
--- a/tests/safeHaskell/unsafeLibs/BadImport04.stderr
+++ b/tests/safeHaskell/unsafeLibs/BadImport04.stderr
@@ -1,3 +1,3 @@
BadImport04.hs:5:1:
- Foreign: Can't be safely imported! The module itself isn't safe.
+ System.IO.Unsafe: Can't be safely imported! The module itself isn't safe.
More information about the ghc-commits
mailing list