~ubuntu-branches/ubuntu/wily/librole-tiny-perl/wily-proposed

« back to all changes in this revision

Viewing changes to xt/does-Moo.t

  • Committer: Package Import Robot
  • Author(s): Axel Beckert
  • Date: 2015-07-13 21:17:52 UTC
  • mfrom: (13.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20150713211752-jl2fg5u1vd1brewd
Tags: 2.000001-2
Upload to unstable again. (Team upload)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
use strict;
 
2
use warnings;
1
3
use Test::More;
2
 
BEGIN {
3
 
  plan skip_all => 'requires Moo'
4
 
    unless eval { require Moo; require Moo::Role; 1 };
5
 
  plan tests => 14;
6
 
}
 
4
use Moo ();
 
5
use Moo::Role ();
7
6
 
8
7
BEGIN {
9
8
  package Local::Role1;
59
58
  ok(   $class->DOES($role), "$class\->DOES($role)");
60
59
}
61
60
 
 
61
done_testing;