[commit: testsuite] master: Text.Printf tests have moved to base; part of #1161 (129e4e8)

Ian Lynagh igloo at earth.li
Sat Feb 4 00:45:07 CET 2012


Repository : ssh://darcs.haskell.org//srv/darcs/testsuite

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/129e4e8a526e2d7520e88a9e5d733374d06fdec0

>---------------------------------------------------------------

commit 129e4e8a526e2d7520e88a9e5d733374d06fdec0
Author: Ian Lynagh <igloo at earth.li>
Date:   Fri Feb 3 23:29:48 2012 +0000

    Text.Printf tests have moved to base; part of #1161

>---------------------------------------------------------------

 tests/lib/Text.Printf/1548.hs     |   11 -----------
 tests/lib/Text.Printf/1548.stdout |    3 ---
 tests/lib/Text.Printf/Makefile    |    3 ---
 tests/lib/Text.Printf/all.T       |    1 -
 4 files changed, 0 insertions(+), 18 deletions(-)

diff --git a/tests/lib/Text.Printf/1548.hs b/tests/lib/Text.Printf/1548.hs
deleted file mode 100644
index 68cec05..0000000
--- a/tests/lib/Text.Printf/1548.hs
+++ /dev/null
@@ -1,11 +0,0 @@
-import Text.Printf
-
-main = do
-   printf "%.*f\n" (2::Int) ((1/3) :: Double)
-   -- (expected: "0.33")
-
-   printf "%.3s\n" "foobar"
-   -- (expected: "foo")
-
-   printf "%10.5d\n" (4::Int)
-   -- (expected: "     00004")
diff --git a/tests/lib/Text.Printf/1548.stdout b/tests/lib/Text.Printf/1548.stdout
deleted file mode 100644
index 4976334..0000000
--- a/tests/lib/Text.Printf/1548.stdout
+++ /dev/null
@@ -1,3 +0,0 @@
-0.33
-foo
-     00004
diff --git a/tests/lib/Text.Printf/Makefile b/tests/lib/Text.Printf/Makefile
deleted file mode 100644
index 9101fbd..0000000
--- a/tests/lib/Text.Printf/Makefile
+++ /dev/null
@@ -1,3 +0,0 @@
-TOP=../../..
-include $(TOP)/mk/boilerplate.mk
-include $(TOP)/mk/test.mk
diff --git a/tests/lib/Text.Printf/all.T b/tests/lib/Text.Printf/all.T
deleted file mode 100644
index aa26ff2..0000000
--- a/tests/lib/Text.Printf/all.T
+++ /dev/null
@@ -1 +0,0 @@
-test('1548', normal, compile_and_run, [''])





More information about the Cvs-ghc mailing list