The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
use strict;
use warnings;
use lib 't/lib';

use Test::More;

# Import Check - must not already have an import() sub

eval "use MyTest::ImportCheck;";
like(
    $@,
    qr/\QPackage MyTest::ImportCheck already has an import() sub\E/,
    'MyTest::ImportCheck is broken because it already has an import() sub'
);

done_testing();