Data-Rx-Tools-ShareDirValidator

 view release on metacpan or  search on metacpan

t/03_non_blessed_ref.t  view on Meta::CPAN

use strict;
use warnings;

use Test::More 0.96;
use FindBin;
use Test::Fatal;

use lib "$FindBin::Bin/03_files/lib/";

use Test::File::ShareDir
  -root  => "$FindBin::Bin/03_files/",
  -share => { -module => { "Example" => 'share' } };

use Example;

# For coverage purposes.

isnt( exception { Example->can('check')->( {}, {} ) }, undef, 'Basic {} spec test with invalid self' );
isnt( exception { Example->can('check')->( {}, [] ) }, undef, 'Basic [] expected not ok spec test with invalid self' );

done_testing;



( run in 1.040 second using v1.01-cache-2.11-cpan-54e63673c56 )