1
use Test::More 'no_plan';
3
if (eval { require Getopt::Euclid and Getopt::Euclid->import(':foo'); 1 }) {
4
ok 0 => 'Unexpectedly succeeded';
7
like $@, qr/Unknown mode \(':foo'\)/ => 'Failed as expected';
10
if (eval { require Getopt::Euclid and Getopt::Euclid->import(':minimal_keys'); 1 }) {
11
ok 1 => 'Minimal mode accepted';
14
ok 0 => 'Unexpectedly failed';