Changeset 14305

Show
Ignore:
Timestamp:
06/20/08 21:41:38 (5 years ago)
Author:
kiyoka
Message:

Improved unit test of plain text layouter.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/gauche/oldtype/trunk/src/test.scm

    r14304 r14305  
    3636    (let ((oldtype-page #f) 
    3737          (oldtype-timeline #f) 
    38           (loaded        #?=(with-input-from-file "Test.sexp.master" 
     38          (loaded        (with-input-from-file "Test.sexp.master" 
    3939                           (lambda () 
    4040                             (read))))) 
     
    7777 
    7878      (test "ago string of lineno 1 <oldtype-timeline>" 
    79             "  (2 months ago)"  
     79            "  (3 months ago)"  
    8080            (lambda () 
    8181              (get-ago (log-by-lineno oldtype-timeline 1)))) 
    8282      (test "ago string of lineno 1 <oldtype-page>" 
    83             "  (2 months ago)" 
     83            "  (3 months ago)" 
    8484            (lambda () 
    8585              (get-ago oldtype-page 1))) 
     
    105105      (test "date,ago,rank,committer of lineno 1 <oldtype-page>" 
    106106            '((date  . "2008-03-20 21:36 (+0900)") 
    107               (ago   . "  (2 months ago)") 
     107              (ago   . "  (3 months ago)") 
    108108              (rank  . 5) 
    109109              (committer . "kiyoka"))