Repository : ssh://darcs.haskell.org//srv/darcs/testsuite On branch : master
http://hackage.haskell.org/trac/ghc/changeset/9f0fbe2a5e75a7445e8535c4e10112b94d1c2eed >--------------------------------------------------------------- commit 9f0fbe2a5e75a7445e8535c4e10112b94d1c2eed Author: Ian Lynagh <[email protected]> Date: Sat Nov 19 23:19:58 2011 +0000 Move lexNum to base/tests >--------------------------------------------------------------- tests/lib/Lex/Makefile | 3 --- tests/lib/Lex/all.T | 2 -- tests/lib/Lex/lexNum.hs | 28 ---------------------------- tests/lib/Lex/lexNum.stdout | 17 ----------------- 4 files changed, 0 insertions(+), 50 deletions(-) diff --git a/tests/lib/Lex/Makefile b/tests/lib/Lex/Makefile deleted file mode 100644 index 9101fbd..0000000 --- a/tests/lib/Lex/Makefile +++ /dev/null @@ -1,3 +0,0 @@ -TOP=../../.. -include $(TOP)/mk/boilerplate.mk -include $(TOP)/mk/test.mk diff --git a/tests/lib/Lex/all.T b/tests/lib/Lex/all.T deleted file mode 100644 index 8c198fb..0000000 --- a/tests/lib/Lex/all.T +++ /dev/null @@ -1,2 +0,0 @@ -test('lexNum', normal, compile_and_run, ['']) - diff --git a/tests/lib/Lex/lexNum.hs b/tests/lib/Lex/lexNum.hs deleted file mode 100644 index fb63034..0000000 --- a/tests/lib/Lex/lexNum.hs +++ /dev/null @@ -1,28 +0,0 @@ -module Main where - -testStrings - = [ "0x3y", - "0X3abx", - "0o39y", - "0O334z", - - "NaN", - "Infinity", - - "34yy", - "34.4x", - "034.4x", - "31.45e-6y", - "49.2v", - "049.2v", - "35e-3x", - "035e-3x", - "35e+3y", - "83.3e-22", - "083.3e-22" - ] - -main = mapM test testStrings - -test s = print (lex s) - diff --git a/tests/lib/Lex/lexNum.stdout b/tests/lib/Lex/lexNum.stdout deleted file mode 100644 index 92cb063..0000000 --- a/tests/lib/Lex/lexNum.stdout +++ /dev/null @@ -1,17 +0,0 @@ -[("0x3","y")] -[("0X3ab","x")] -[("0o3","9y")] -[("0O334","z")] -[("NaN","")] -[("Infinity","")] -[("34","yy")] -[("34.4","x")] -[("034.4","x")] -[("31.45e-6","y")] -[("49.2","v")] -[("049.2","v")] -[("35e-3","x")] -[("035e-3","x")] -[("35e+3","y")] -[("83.3e-22","")] -[("083.3e-22","")] _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
