summaryrefslogtreecommitdiffstats
path: root/t/object.t
blob: 076727ec5940c4ee747c530733f017885ff10919 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env perl
use strict;
use warnings;
use Test::More;

use Carp::Always::Color;

my $err = bless({}, 'My::Error::Class');
eval { die $err };
is($@, $err, "exception objects aren't affected");

done_testing;