Detect redispatch exceptions by a class check, not by checking the exception message.
[catagits/Catalyst-Runtime.git] / t / dead_no_unknown_error.t
CommitLineData
5c66ad60 1#!/usr/bin/env perl
2
3use strict;
4use warnings;
5use FindBin qw/$Bin/;
6use lib "$Bin/lib";
7use Test::More tests => 1;
8
9use Catalyst ();
10use Catalyst::Engine::HTTP;
11eval {
12 require TestAppUnknownError;
13};
14unlike($@, qr/Unknown error/, 'No unknown error');
15
161;
17