Commit | Line | Data |
---|---|---|
804143de | 1 | # HARNESS-NO-PRELOAD |
08f9c848 | 2 | use strict; |
3 | use warnings; | |
4 | use FindBin qw/$Bin/; | |
5 | use lib "$Bin/lib"; | |
41a8bf1f | 6 | use Test::More tests => 2; |
2a56ace9 | 7 | use Test::Fatal; |
08f9c848 | 8 | |
2a56ace9 | 9 | is exception { |
08f9c848 | 10 | require TestAppClassExceptionSimpleTest; |
2a56ace9 | 11 | }, undef, 'Can load application'; |
41a8bf1f | 12 | |
13 | ||
2a56ace9 | 14 | is exception { |
41a8bf1f | 15 | Catalyst::Exception->throw |
2a56ace9 | 16 | }, undef, 'throw is properly stubbed out'; |
41a8bf1f | 17 | |
18 | ||
19 |