The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

use strict;
use v5.14.2;
use lib qw(t/lib);
use Smart::Comments -ENV;
# SchemaCollision defines a method called permission, and a lookup with same name
throws_ok { require SchemaCollision } qr/already defined/i, 'collision detected';
done_testing;