[project @ 2001-03-28 15:16:32 by simonmar]
[ghc-hetmet.git] / ghc / tests / lib / should_run / enum01.stdout
index 8e5dfc3..e7ccd6b 100644 (file)
@@ -62,11 +62,11 @@ Testing Enum Char:
     (succ (minBound::Char)) = '\SOH'
     (succ (maxBound::Char)) = error "Prelude.Enum.Char.succ: bad argument"
     (pred 'b') = 'a'
-    pred (maxBound::Char) = '\2147483646'
+    pred (maxBound::Char) = '\1114110'
     pred (minBound::Char) = error "Prelude.Enum.Char.pred: bad argument"
-    (map (toEnum::Int->Char) [123,ord (minBound::Char), ord(maxBound::Char)]) = "{\NUL\2147483647"
+    (map (toEnum::Int->Char) [123,ord (minBound::Char), ord(maxBound::Char)]) = "{\NUL\1114111"
     (toEnum::Int->Char) (minBound::Int) = error "Prelude.chr: bad argument"
-    (map fromEnum ['X',minBound,maxBound]) = [88,0,2147483647]
+    (map fromEnum ['X',minBound,maxBound]) = [88,0,1114111]
     (take 7 ['\NUL' .. ]) = "\NUL\SOH\STX\ETX\EOT\ENQ\ACK"
     (take 7 ['\250' .. ]) = "\250\251\252\253\254\255\256"
     (take 7 ['a','b'..]) = "abcdefg"