summaryrefslogtreecommitdiffstats
path: root/t/05-object.t
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2010-06-14 03:21:42 -0500
committerJesse Luehrs <doy@tozt.net>2010-06-14 03:21:42 -0500
commitb6f9cf0cd8b90c31a024581d524cf513a5446c93 (patch)
treea8dcdf7fefa4eb50973263dda9d46a3b46c872e2 /t/05-object.t
parent90bf809d0662a2f87d63a4453e0cd74c101418a7 (diff)
downloadcarp-always-color-b6f9cf0cd8b90c31a024581d524cf513a5446c93.tar.gz
carp-always-color-b6f9cf0cd8b90c31a024581d524cf513a5446c93.zip
update dzil (and other packaging) stuff
Diffstat (limited to 't/05-object.t')
-rw-r--r--t/05-object.t10
1 files changed, 10 insertions, 0 deletions
diff --git a/t/05-object.t b/t/05-object.t
new file mode 100644
index 0000000..3a88dd3
--- /dev/null
+++ b/t/05-object.t
@@ -0,0 +1,10 @@
+#!/usr/bin/env perl
+use strict;
+use warnings;
+use Test::More tests => 1;
+
+use Carp::Always::Color;
+
+my $err = bless({}, 'My::Error::Class');
+eval { die $err };
+is($@, $err, "exception objects aren't affected");