blob: 4f607b89033a51d6dc85790205356f73b7ac8769 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/usr/bin/env perl
use strict;
use warnings;
use Test::More;
use Test::Fatal;
{
package Foo;
our $VERSION = '0.02';
sub new { bless {}, shift }
}
{
package Bar;
use Moose;
use MooseX::NonMoose;
::is(::exception { extends 'Foo' => { -version => '0.02' } }, undef,
"specifying arguments to superclasses doesn't break");
}
done_testing;
|