stop using Moo as a test package
[catagits/Catalyst-Runtime.git] / t / aggregate / error_page_dump.t
CommitLineData
1565e158 1use strict;
2use warnings;
3use Test::More;
2a56ace9 4use Test::Fatal;
1565e158 5
6use Catalyst::Engine;
7
8my $m = sub { Catalyst::Engine->_dump_error_page_element(@_) };
9
2a56ace9 10is exception { $m->('Scalar' => ['foo' => 'bar']) }, undef;
11is exception { $m->('Array' => ['foo' => []]) }, undef;
12is exception { $m->('Hash' => ['foo' => {}]) }, undef;
1565e158 13
14done_testing;
15