projects
/
catagits/Catalyst-Runtime.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
prevent -h being an alias for --help, since we use it for --host
[catagits/Catalyst-Runtime.git]
/
t
/
custom_exception_class_simple.t
1
# HARNESS-NO-PRELOAD
2
use strict;
3
use warnings;
4
use FindBin qw/$Bin/;
5
use lib "$Bin/lib";
6
use Test::More tests => 2;
7
use Test::Fatal;
8
9
is exception {
10
require TestAppClassExceptionSimpleTest;
11
}, undef, 'Can load application';
12
13
14
is exception {
15
Catalyst::Exception->throw
16
}, undef, 'throw is properly stubbed out';
17
18
19