Update safe haskell tests for change output formatting
authorDavid Terei <davidterei@gmail.com>
Tue, 3 Apr 2012 19:35:46 +0000 (12:35 -0700)
committerDavid Terei <davidterei@gmail.com>
Wed, 4 Apr 2012 21:12:20 +0000 (14:12 -0700)
28 files changed:
testsuite/tests/safeHaskell/check/pkg01/ImpSafe01.stderr
testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly03.stderr
testsuite/tests/safeHaskell/flags/SafeFlags17.stderr
testsuite/tests/safeHaskell/flags/SafeFlags22.stderr
testsuite/tests/safeHaskell/flags/SafeFlags23.stderr
testsuite/tests/safeHaskell/safeInfered/UnsafeInfered01.stderr
testsuite/tests/safeHaskell/safeInfered/UnsafeInfered02.stderr
testsuite/tests/safeHaskell/safeInfered/UnsafeInfered03.stderr
testsuite/tests/safeHaskell/safeInfered/UnsafeInfered05.stderr
testsuite/tests/safeHaskell/safeInfered/UnsafeInfered06.stderr
testsuite/tests/safeHaskell/safeInfered/UnsafeInfered07.stderr
testsuite/tests/safeHaskell/safeInfered/UnsafeInfered08.stderr
testsuite/tests/safeHaskell/safeInfered/UnsafeInfered09.stderr
testsuite/tests/safeHaskell/safeInfered/UnsafeInfered10.stderr
testsuite/tests/safeHaskell/safeInfered/UnsafeInfered11.stderr
testsuite/tests/safeHaskell/unsafeLibs/BadImport01.stderr
testsuite/tests/safeHaskell/unsafeLibs/BadImport04.stderr
testsuite/tests/safeHaskell/unsafeLibs/BadImport05.stderr
testsuite/tests/safeHaskell/unsafeLibs/BadImport06.stderr
testsuite/tests/safeHaskell/unsafeLibs/BadImport07.stderr
testsuite/tests/safeHaskell/unsafeLibs/BadImport08.stderr
testsuite/tests/safeHaskell/unsafeLibs/BadImport09.stderr
testsuite/tests/safeHaskell/unsafeLibs/Dep05.stderr
testsuite/tests/safeHaskell/unsafeLibs/Dep06.stderr
testsuite/tests/safeHaskell/unsafeLibs/Dep07.stderr
testsuite/tests/safeHaskell/unsafeLibs/Dep08.stderr
testsuite/tests/safeHaskell/unsafeLibs/Dep09.stderr
testsuite/tests/safeHaskell/unsafeLibs/Dep10.stderr

index 9ca2bbe..9bf0315 100644 (file)
@@ -1,3 +1,4 @@
 
 ImpSafe01.hs:9:1:
-    base:Data.Word can't be safely imported! The package (base) the module resides in isn't trusted.
+    Data.Word: Can't be safely imported!
+    The package (base) the module resides in isn't trusted.
index bc6eecf..1afb523 100644 (file)
@@ -1,3 +1,4 @@
 
 ImpSafeOnly03.hs:4:1:
-    safePkg01-1.0:M_SafePkg3 can't be safely imported! The package (safePkg01-1.0) the module resides in isn't trusted.
+    M_SafePkg3: Can't be safely imported!
+    The package (safePkg01-1.0) the module resides in isn't trusted.
index 99147ee..9aab02d 100644 (file)
@@ -1,3 +1,4 @@
 
 SafeFlags17.hs:4:8:
-    base:Prelude can't be safely imported! The package (base) the module resides in isn't trusted.
+    Prelude: Can't be safely imported!
+    The package (base) the module resides in isn't trusted.
index 7913f68..c465048 100644 (file)
@@ -2,4 +2,6 @@
 SafeFlags22.hs:1:16:
     Warning: `SafeFlags22' has been infered as unsafe!
     Reason:
-        base:System.IO.Unsafe can't be safely imported! The module itself isn't safe.
+        SafeFlags22.hs:7:1:
+            System.IO.Unsafe: Can't be safely imported!
+            The module itself isn't safe.
index bf8b7d9..3ebe049 100644 (file)
@@ -2,7 +2,9 @@
 SafeFlags23.hs:1:16:
     Warning: `SafeFlags22' has been infered as unsafe!
     Reason:
-        base:System.IO.Unsafe can't be safely imported! The module itself isn't safe.
+        SafeFlags23.hs:7:1:
+            System.IO.Unsafe: Can't be safely imported!
+            The module itself isn't safe.
 
 <no location info>: 
 Failing due to -Werror.
index 15212f3..f96f171 100644 (file)
@@ -2,4 +2,5 @@
 [2 of 2] Compiling UnsafeInfered01  ( UnsafeInfered01.hs, UnsafeInfered01.o )
 
 UnsafeInfered01.hs:4:1:
-    main:UnsafeInfered01_A can't be safely imported! The module itself isn't safe.
+    UnsafeInfered01_A: Can't be safely imported!
+    The module itself isn't safe.
index 587b8a9..7bd9a17 100644 (file)
@@ -2,4 +2,5 @@
 [2 of 2] Compiling UnsafeInfered02  ( UnsafeInfered02.hs, UnsafeInfered02.o )
 
 UnsafeInfered02.hs:4:1:
-    main:UnsafeInfered02_A can't be safely imported! The module itself isn't safe.
+    UnsafeInfered02_A: Can't be safely imported!
+    The module itself isn't safe.
index f869206..ea21c40 100644 (file)
@@ -2,4 +2,5 @@
 [2 of 2] Compiling UnsafeInfered03  ( UnsafeInfered03.hs, UnsafeInfered03.o )
 
 UnsafeInfered03.hs:4:1:
-    main:UnsafeInfered03_A can't be safely imported! The module itself isn't safe.
+    UnsafeInfered03_A: Can't be safely imported!
+    The module itself isn't safe.
index e08d2ae..2b23ce0 100644 (file)
@@ -2,4 +2,5 @@
 [2 of 2] Compiling UnsafeInfered05  ( UnsafeInfered05.hs, UnsafeInfered05.o )
 
 UnsafeInfered05.hs:4:1:
-    main:UnsafeInfered05_A can't be safely imported! The module itself isn't safe.
+    UnsafeInfered05_A: Can't be safely imported!
+    The module itself isn't safe.
index 55f9166..73c1825 100644 (file)
@@ -2,4 +2,5 @@
 [2 of 2] Compiling UnsafeInfered06  ( UnsafeInfered06.hs, UnsafeInfered06.o )
 
 UnsafeInfered06.hs:4:1:
-    main:UnsafeInfered06_A can't be safely imported! The module itself isn't safe.
+    UnsafeInfered06_A: Can't be safely imported!
+    The module itself isn't safe.
index 86c4717..98a7e80 100644 (file)
@@ -2,4 +2,5 @@
 [2 of 2] Compiling UnsafeInfered07  ( UnsafeInfered07.hs, UnsafeInfered07.o )
 
 UnsafeInfered07.hs:4:1:
-    main:UnsafeInfered07_A can't be safely imported! The module itself isn't safe.
+    UnsafeInfered07_A: Can't be safely imported!
+    The module itself isn't safe.
index b204c68..8ff2596 100644 (file)
@@ -2,4 +2,5 @@
 [2 of 2] Compiling UnsafeInfered08  ( UnsafeInfered08.hs, UnsafeInfered08.o )
 
 UnsafeInfered08.hs:4:1:
-    main:UnsafeInfered08_A can't be safely imported! The module itself isn't safe.
+    UnsafeInfered08_A: Can't be safely imported!
+    The module itself isn't safe.
index bb5c926..42082c8 100644 (file)
@@ -3,4 +3,5 @@
 [3 of 3] Compiling UnsafeInfered09  ( UnsafeInfered09.hs, UnsafeInfered09.o )
 
 UnsafeInfered09.hs:4:1:
-    main:UnsafeInfered09_A can't be safely imported! The module itself isn't safe.
+    UnsafeInfered09_A: Can't be safely imported!
+    The module itself isn't safe.
index 25bca5d..c67b891 100644 (file)
@@ -2,4 +2,5 @@
 [2 of 2] Compiling UnsafeInfered10  ( UnsafeInfered10.hs, UnsafeInfered10.o )
 
 UnsafeInfered10.hs:5:1:
-    main:UnsafeInfered10_A can't be safely imported! The module itself isn't safe.
+    UnsafeInfered10_A: Can't be safely imported!
+    The module itself isn't safe.
index fc809c3..89c9cf1 100644 (file)
@@ -3,9 +3,11 @@
 UnsafeInfered11_A.hs:1:16:
     Warning: `UnsafeInfered11_A' has been infered as unsafe!
     Reason:
-        Rule "lookupx/T" ignored
-        User defined rules are disabled under Safe Haskell
+        UnsafeInfered11_A.hs:17:11:
+            Rule "lookupx/T" ignored
+            User defined rules are disabled under Safe Haskell
 [2 of 2] Compiling UnsafeInfered11  ( UnsafeInfered11.hs, UnsafeInfered11.o )
 
 UnsafeInfered11.hs:5:1:
-    main:UnsafeInfered11_A can't be safely imported! The module itself isn't safe.
+    UnsafeInfered11_A: Can't be safely imported!
+    The module itself isn't safe.
index bc676ca..7c5128d 100644 (file)
@@ -1,3 +1,4 @@
 
 BadImport01.hs:5:1:
-    base:System.IO.Unsafe 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.
index f653cd6..2c2f3be 100644 (file)
@@ -1,3 +1,3 @@
 
 BadImport04.hs:5:1:
-    base:Foreign can't be safely imported! The module itself isn't safe.
+    Foreign: Can't be safely imported! The module itself isn't safe.
index 7d8be6a..32a42f5 100644 (file)
@@ -1,3 +1,4 @@
 
 BadImport05.hs:5:1:
-    base:System.IO.Unsafe 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.
index 6fbf954..51a5beb 100644 (file)
@@ -1,3 +1,4 @@
 
 BadImport06.hs:5:1:
-    base:Debug.Trace can't be safely imported! The module itself isn't safe.
+    Debug.Trace: Can't be safely imported!
+    The module itself isn't safe.
index ccd6b34..5133f04 100644 (file)
@@ -1,3 +1,4 @@
 
 BadImport07.hs:5:1:
-    base:Unsafe.Coerce can't be safely imported! The module itself isn't safe.
+    Unsafe.Coerce: Can't be safely imported!
+    The module itself isn't safe.
index a62d154..d3f193c 100644 (file)
@@ -1,3 +1,4 @@
 
 BadImport08.hs:5:1:
-    base:Control.Monad.ST can't be safely imported! The module itself isn't safe.
+    Control.Monad.ST: Can't be safely imported!
+    The module itself isn't safe.
index 3db67ac..2dd8e7c 100644 (file)
@@ -1,3 +1,4 @@
 
 BadImport09.hs:5:1:
-    base:Foreign.Marshal can't be safely imported! The module itself isn't safe.
+    Foreign.Marshal: Can't be safely imported!
+    The module itself isn't safe.
index 6176ffb..a35d679 100644 (file)
@@ -1,3 +1,3 @@
 
 Dep05.hs:5:1:
-    base:GHC.Arr can't be safely imported! The module itself isn't safe.
+    GHC.Arr: Can't be safely imported! The module itself isn't safe.
index 7e0b4d0..ae8bdf8 100644 (file)
@@ -1,3 +1,3 @@
 
 Dep06.hs:4:1:
-    base:GHC.Conc can't be safely imported! The module itself isn't safe.
+    GHC.Conc: Can't be safely imported! The module itself isn't safe.
index 5faecb9..dcc7c48 100644 (file)
@@ -1,3 +1,4 @@
 
 Dep07.hs:4:1:
-    base:GHC.ForeignPtr can't be safely imported! The module itself isn't safe.
+    GHC.ForeignPtr: Can't be safely imported!
+    The module itself isn't safe.
index 9e06797..386f641 100644 (file)
@@ -1,3 +1,4 @@
 
 Dep08.hs:5:1:
-    base:GHC.IOArray can't be safely imported! The module itself isn't safe.
+    GHC.IOArray: Can't be safely imported!
+    The module itself isn't safe.
index e0de172..76606c2 100644 (file)
@@ -1,3 +1,3 @@
 
 Dep09.hs:4:1:
-    base:GHC.Ptr can't be safely imported! The module itself isn't safe.
+    GHC.Ptr: Can't be safely imported! The module itself isn't safe.
index 4ef5251..68fe214 100644 (file)
@@ -1,3 +1,3 @@
 
 Dep10.hs:4:1:
-    base:GHC.ST can't be safely imported! The module itself isn't safe.
+    GHC.ST: Can't be safely imported! The module itself isn't safe.