Skip to content

Instantly share code, notes, and snippets.

@xenoterracide
Created May 9, 2013 18:05
Show Gist options
  • Select an option

  • Save xenoterracide/5549299 to your computer and use it in GitHub Desktop.

Select an option

Save xenoterracide/5549299 to your computer and use it in GitHub Desktop.
prove -lv slave-iv
t/extends.t .. Cannot inherit from TestBase because Bread::Board::Declare classes must inherit from Bread::Board::Container at /home/xenoterracide/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/Bread/Board/Declare/Meta/Role/Class.pm line 33.
use strict;
use warnings;
use Test::More;
use Class::Load 0.20 'load_class';
{
package Test;
use Moose;
use Bread::Board::Declare;
extends 'TestBase';
__PACKAGE__->meta->make_immutable;
}
new_ok load_class('Test');
done_testing;
package TestBase;
use Moose;
use Bread::Board::Declare;
extends 'Bread::Board::Container';
__PACKAGE__->meta->make_immutable;
1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment