29 |
ok( defined $o->debug, 'debug' ); |
ok( defined $o->debug, 'debug' ); |
30 |
ok( ! $o->path, 'no path' ); |
ok( ! $o->path, 'no path' ); |
31 |
|
|
32 |
ok( my $examine = $o->examine, 'examine' ); |
ok( my $js = $o->joose, 'joose' ); |
33 |
diag dump( $examine ) if $debug; |
diag dump( $js ) if $debug; |
34 |
|
|
35 |
ok( $o->path, 'path' ); |
ok( $o->path, 'path' ); |
36 |
|
|
37 |
my $cmd = 'js ' . $o->path; |
ok( my @methods = $o->methods, 'methods' ); |
38 |
my $syntax = `$cmd 2>&1`; |
diag dump( @methods ) if $debug; |
|
diag $syntax; |
|
|
|
|
|
ok( ! $syntax, 'syntax' ); |
|
39 |
} |
} |