#!/usr/bin/perl
-# This is automatically generated by author/import-moose-test.pl.
-# DO NOT EDIT THIS FILE. ANY CHANGES WILL BE LOST!!!
-use t::lib::MooseCompat;
use strict;
use warnings;
=cut
-use Test::Requires {
- 'Test::Deep' => '0.01', # skip all if not installed
-};
+BEGIN {
+ eval "use Test::Deep;";
+ plan skip_all => "Test::Deep is required for this test" if $@;
+ plan tests => 5;
+}
use Test::Exception;
$foo->bar([{ foo => 3 }]);
} '... validation failed correctly';
-done_testing;
+