7 use Test::More tests => 9;
11 foreach my $command ( 'sudo brctl show', 'df -P' ) {
12 ok( my $array = shell->command($command)->lines, $command );
13 isa_ok( $array, 'ARRAY' );
15 ok( my $hash = shell->command($command)->hash_by(1), $command );
16 isa_ok( $hash, 'HASH' );