/[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 59 by dpavlin, Tue Jun 21 20:49:27 2005 UTC revision 63 by dpavlin, Wed Jun 22 16:42:06 2005 UTC
# Line 3  Line 3 
3  use strict;  use strict;
4  use blib;  use blib;
5    
6  use Test::More tests => 68;  use Test::More tests => 76;
7    
8  BEGIN { use_ok('Nos') };  BEGIN { use_ok('Nos') };
9    
# Line 86  foreach my $i (1 .. 5) { Line 86  foreach my $i (1 .. 5) {
86  }  }
87    
88  cmp_ok(scalar $nos->list_members( list => 'delete' ), '==', 0, "list empty");  cmp_ok(scalar $nos->list_members( list => 'delete' ), '==', 0, "list empty");
89    
90    # test delete lists
91    
92    foreach my $list (( 'My list', 'test', 'another', 'delete' )) {
93            ok($nos->delete_list( list => $list ), "delete $list");
94            ok(! $nos->_get_list($list), "$list doesn't exist");
95    }
96    

Legend:
Removed from v.59  
changed lines
  Added in v.63

  ViewVC Help
Powered by ViewVC 1.1.26