$path_status{'.ssh/authorized_keys'} = $protos{'.ssh/authorized_keys'};
is(
- paths_for([ path_status => 'PS' ], [ not => [ is_directory => 'PS' ] ]),
+ paths_for([ path_status => 'PS' ], [ not => [ [ is_directory => 'PS' ] ] ]),
'.ssh/authorized_keys',
'Negation'
);
$solver->add_rule(@$_) for (
[ is_directory => [ qw(PS) ],
- [ not => [ exists_path => 'PS' ] ],
+ [ not => [ [ exists_path => 'PS' ] ] ],
[ act => [ 'PS' ],
sub {
my ($value) = @_;
[ catfile => qw(DirPath FileName FilePath) ],
[ file_at => qw(FileStatus FilePath) ] ],
[ is_file => [ qw(PS) ],
- [ not => [ exists_path => 'PS' ] ],
+ [ not => [ [ exists_path => 'PS' ] ] ],
[ act => [ 'PS' ],
sub {
my ($value) = @_;