Repository : ssh://darcs.haskell.org//srv/darcs/testsuite On branch : master
http://hackage.haskell.org/trac/ghc/changeset/8975070399cea5a08108a6e987fb7fa41387cb27 >--------------------------------------------------------------- commit 8975070399cea5a08108a6e987fb7fa41387cb27 Author: Ian Lynagh <[email protected]> Date: Sat Nov 19 22:18:02 2011 +0000 Move testsuite/tests/lib/Data.Fixed test to base/tests >--------------------------------------------------------------- tests/lib/Data.Fixed/Makefile | 3 --- tests/lib/Data.Fixed/all.T | 1 - tests/lib/Data.Fixed/data-fixed-show-read.hs | 22 ---------------------- tests/lib/Data.Fixed/data-fixed-show-read.stdout | 18 ------------------ 4 files changed, 0 insertions(+), 44 deletions(-) diff --git a/tests/lib/Data.Fixed/Makefile b/tests/lib/Data.Fixed/Makefile deleted file mode 100644 index 9101fbd..0000000 --- a/tests/lib/Data.Fixed/Makefile +++ /dev/null @@ -1,3 +0,0 @@ -TOP=../../.. -include $(TOP)/mk/boilerplate.mk -include $(TOP)/mk/test.mk diff --git a/tests/lib/Data.Fixed/all.T b/tests/lib/Data.Fixed/all.T deleted file mode 100644 index c4d77d2..0000000 --- a/tests/lib/Data.Fixed/all.T +++ /dev/null @@ -1 +0,0 @@ -test('data-fixed-show-read', normal, compile_and_run, ['']) diff --git a/tests/lib/Data.Fixed/data-fixed-show-read.hs b/tests/lib/Data.Fixed/data-fixed-show-read.hs deleted file mode 100644 index 349f639..0000000 --- a/tests/lib/Data.Fixed/data-fixed-show-read.hs +++ /dev/null @@ -1,22 +0,0 @@ - -module Main (main) where - -import Data.Fixed - -main :: IO () -main = do doit 38.001 - doit 38.009 - doit 38.01 - doit 38.09 - print (read "38" :: Centi) - doit (-38.001) - doit (-38.009) - doit (-38.01) - doit (-38.09) - print (read "-38" :: Centi) - -doit :: Centi -> IO () -doit c = do let s = show c - r = read s :: Centi - putStrLn s - print r diff --git a/tests/lib/Data.Fixed/data-fixed-show-read.stdout b/tests/lib/Data.Fixed/data-fixed-show-read.stdout deleted file mode 100644 index 0e5d7ca..0000000 --- a/tests/lib/Data.Fixed/data-fixed-show-read.stdout +++ /dev/null @@ -1,18 +0,0 @@ -38.00 -38.00 -38.00 -38.00 -38.01 -38.01 -38.09 -38.09 -38.00 --38.00 --38.00 --38.00 --38.00 --38.01 --38.01 --38.09 --38.09 --38.00 _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
