File: 001_1_load.t

package info (click to toggle)
libdirectory-scratch-structured-perl 0.04-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 108 kB
  • sloc: perl: 62; makefile: 2
file content (21 lines) | stat: -r-xr-xr-x 412 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

# test module loading

use strict ;
use warnings ;

use Test::NoWarnings ;

use Test::More qw(no_plan);
use Test::Exception ;
use Test::Block qw($Plan);

BEGIN { use_ok( 'Directory::Scratch::Structured' ) or BAIL_OUT("Can't load module"); } ;

{
local $Plan = {'piggyback' => 1} ;

my $object = new Directory::Scratch ;

ok(! UNIVERSAL::can($object, 'create_structured_tree'), "no piggybacking by default") ;
}