Source

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

Full commit
#!perl

use strict;
use warnings;

use Test::More tests => 1;

use File::Find::Object::Rule::MMagic;
use File::Spec;

# TEST
is_deeply( [ find( magic => 'image/*', maxdepth => 2, in => 't' ) ],
           [ File::Spec->catfile(File::Spec->curdir(), "t", "happy-baby.JPG")]
           );