/[notice-sender]/trunk/t/1_nos.t
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/t/1_nos.t

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 36 by dpavlin, Tue May 17 17:49:14 2005 UTC revision 37 by dpavlin, Tue May 17 19:15:27 2005 UTC
# Line 3  Line 3 
3  use strict;  use strict;
4  use blib;  use blib;
5    
6  use Test::More tests => 28;  use Test::More tests => 31;
7    
8  BEGIN { use_ok('Nos') };  BEGIN { use_ok('Nos') };
9    
# Line 28  ok($nos->add_message_to_list( list => 'M Line 28  ok($nos->add_message_to_list( list => 'M
28    
29  foreach my $i ( 1 .. 10 ) {  foreach my $i ( 1 .. 10 ) {
30          ok($nos->add_message_to_list( list => 'another', message => "Subject: test $i" ), "add_message_to_list");          ok($nos->add_message_to_list( list => 'another', message => "Subject: test $i" ), "add_message_to_list");
31            ok($nos->add_message_to_list( list => 'test', message => "Subject: test e-mail $i\n\nisn't life great?" ), "add_message_to_list") if ($i % 3 == 0);
32  }  }

Legend:
Removed from v.36  
changed lines
  Added in v.37

  ViewVC Help
Powered by ViewVC 1.1.26