Permalink
Browse files

use proper constructors in all repository tests

  • Loading branch information...
1 parent d3435ce commit 388289ba667aff0e6ad1f24a1863f94a2fde62fe @jberger jberger committed Mar 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 t/http.t
View
2 t/http.t
@@ -5,7 +5,7 @@ use Test::More;
use_ok('Alien::Base::ModuleBuild::Repository::HTTP');
-my $repo = bless {}, 'Alien::Base::ModuleBuild::Repository::HTTP';
+my $repo = Alien::Base::ModuleBuild::Repository::HTTP->new;
# replicated in utils.t
my $html = q#Some <a href=link>link text</a> stuff. And a little <A HREF="link2">different link text</a>. <!-- <a href="dont_follow.html">you can't see me!</a> -->#;

0 comments on commit 388289b

Please sign in to comment.