Permalink
Browse files

calculate plan from examples

  • Loading branch information...
1 parent b86b614 commit c45da65f4aa057675c0ab418b9ffa9eb372a1bb0 @szabgab szabgab committed Mar 19, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 t/24-identify-feed.t
@@ -1,5 +1,5 @@
use strict;
-use Test::More tests => 3;
+use Test::More;
use XML::Feed;
use URI;
@@ -8,6 +8,7 @@ my %Feeds = (
't/samples/rss10.xml' => 'RSS',
't/samples/rss20.xml' => 'RSS',
);
+plan tests => scalar keys %Feeds;
for my $file (keys %Feeds) {
my $feed = XML::Feed->parse($file);

0 comments on commit c45da65

Please sign in to comment.