Source

perl-File-Find-Object-Rule / File-Find-Object-Rule-MMagic / t / File-Find-Object-Rule-MMagic.t

#!perl

use strict;
use warnings;

use Test::More tests => 1;

use File::Find::Object::Rule::MMagic;
# TEST
is_deeply( [ find( magic => 'image/*', maxdepth => 2, in => 't' ) ],
           [ 't/happy-baby.JPG' ] );