[Pkg-haskell-commits] [SCM] haskell-testpack branch, master, updated. debian/1.0.2-1-4-gb0d6b36

John Goerzen jgoerzen at complete.org
Fri Apr 23 14:46:51 UTC 2010


The following commit has been merged in the master branch:
commit 1929c8345cbd94098a36f51b85dae5095a021056
Author: John Goerzen <jgoerzen at complete.org>
Date:   Mon Nov 15 10:18:46 2004 +0100

    Checkpointing
    
    Keywords:
    
    
    (jgoerzen at complete.org--projects/missingh--head--0.5--patch-47)

diff --git a/ChangeLog b/ChangeLog
index 7e5c703..6909106 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,18 @@
 # arch-tag: automatic-ChangeLog--jgoerzen at complete.org--projects/missingh--head--0.5
 #
 
+2004-11-15 03:18:46 GMT	John Goerzen <jgoerzen at complete.org>	patch-47
+
+    Summary:
+      Checkpointing
+    Revision:
+      missingh--head--0.5--patch-47
+
+
+    modified files:
+     ChangeLog testsrc/Printftest.hs
+
+
 2004-11-15 03:07:28 GMT	John Goerzen <jgoerzen at complete.org>	patch-46
 
     Summary:
diff --git a/testsrc/Printftest.hs b/testsrc/Printftest.hs
index 9877aad..45f5634 100644
--- a/testsrc/Printftest.hs
+++ b/testsrc/Printftest.hs
@@ -38,6 +38,15 @@ test_vsprintf_strings =
     ".     ." @=? vsprintf ".%5s." ""
     "     " @=? vsprintf "%5s" ""
     "     " @=? vsprintf "%-5s" ""
+    "    x" @=? vsprintf "%5s" "x"
+    "x    " @=? vsprintf "%-5s" "x"
+    "abcde" @=? vsprintf "%.5s" "abcde"
+    "abcde" @=? vsprintf "%.5s" "abcdef"
+    "abcde" @=? vsprintf "%.5s" "abcdefghij"
+    "abcde" @=? vsprintf "%5.5s" "abcdefg"
+    " abcde" @=? vsprintf "%6.5s" "abcdefg"
+    
+    
     
 tests = TestList [TestLabel "vsprintf" (TestCase test_vsprintf),
                   TestLabel "vsprintf strings" (TestCase test_vsprintf_strings)

-- 
haskell-testpack



More information about the Pkg-haskell-commits mailing list