/[Frey]/trunk/t/06-frey-feed.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/06-frey-feed.t

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

revision 454 by dpavlin, Wed Nov 5 20:02:46 2008 UTC revision 455 by dpavlin, Wed Nov 19 15:28:23 2008 UTC
# Line 14  BEGIN { Line 14  BEGIN {
14  }  }
15    
16  ok( my $o = Frey::Feed->new( uri => 'https://blog.rot13.org/index.xml' ), 'new' );  ok( my $o = Frey::Feed->new( uri => 'https://blog.rot13.org/index.xml' ), 'new' );
17  ok( my $data = $o->data, 'data' );  ok( my $data = $o->as_data, 'data' );
18  diag ref($data), " with ", $#$data + 1, " elements" if $debug;  diag ref($data), " with ", $#$data + 1, " elements" if $debug;
19  isa_ok( $data, 'ARRAY', 'array of items' );  isa_ok( $data, 'ARRAY', 'array of items' );
20  cmp_ok( $#$data + 1, '==', 15, '15 items' );  cmp_ok( $#$data + 1, '==', 15, '15 items' );

Legend:
Removed from v.454  
changed lines
  Added in v.455

  ViewVC Help
Powered by ViewVC 1.1.26