12 use Test
::More tests
=> 4;
15 cd
("$OUT_DIR/target");
19 $stow = new_Stow
(defer
=> [ 'man' ]);
20 ok
($stow->defer('man/man1/file.1') => 'simple success');
22 $stow = new_Stow
(defer
=> [ 'lib' ]);
23 ok
(! $stow->defer('man/man1/file.1') => 'simple failure');
25 $stow = new_Stow
(defer
=> [ 'lib', 'man', 'share' ]);
26 ok
($stow->defer('man/man1/file.1') => 'complex success');
28 $stow = new_Stow
(defer
=> [ 'lib', 'man', 'share' ]);
29 ok
(! $stow->defer('bin/file') => 'complex failure');