Changeset 302

Show
Ignore:
Timestamp:
02/26/05 05:23:08 (4 years ago)
Author:
smpeters
svk:copy_cache_prev:
1041
Message:

* added diag method to Test.pm

Files:
3 modified

Legend:

Unmodified
Added
Removed
  • lib/Perl6/lib/Test.pm

    r252 r302  
    8585} 
    8686 
     87sub diag (Str $diag) { 
     88    say "# ", $diag; 
     89} 
     90 
     91 
    8792END { 
    8893    if (!$plan) { 
  • src/Posix.hs

    r211 r302  
    2323    sleep, 
    2424    getEnvironment, 
     25    rmdir, 
    2526) where 
    2627 
     
    5455sleep _ = fail "'sleep' not implemented on this platform." 
    5556 
     57rmdir :: FilePath -> IO () 
     58rmdir _ = fail "'rmdir' not implemented on this platform." 
     59 
    5660getEnvironment :: IO [(String, String)] 
    5761getEnvironment = do 
  • t/op/not.t

    r265 r302  
    4545ok $not1 == 0, "0 is false"; 
    4646ok $not0 == 1, "1 is true"; 
     47 
     48diag "foo";