The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
use strict;
use warnings;

use Mac::FSEvents;
use Test::More;

my @FLAGS = qw{
    NONE
    WATCH_ROOT
    IGNORE_SELF
    FILE_EVENTS
};

plan tests => scalar(@FLAGS);

foreach my $flag (@FLAGS) {
    ok !__PACKAGE__->can($flag), 'flags should not be imported unless :flags is specified';
}