diff options
author | Daniel Friesel <derf@finalrewind.org> | 2013-09-26 19:36:15 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2013-09-26 19:36:15 +0200 |
commit | 013b068c7650ab1ef92cab6a54da6abf39673eba (patch) | |
tree | d513070f538443b7d561c5e46f988a857741d9d0 /test/mandoc.t | |
parent | f74385dec092224d046dddc02b731ee30405710f (diff) |
test re-organization and code cleanup
Diffstat (limited to 'test/mandoc.t')
-rwxr-xr-x | test/mandoc.t | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/mandoc.t b/test/mandoc.t index d664289..3740809 100755 --- a/test/mandoc.t +++ b/test/mandoc.t @@ -8,13 +8,13 @@ use Test::More tests => 3; SKIP: { qx{mandoc -V}; - if ($? != 0) { + if ( $? != 0 ) { diag('mandoc not installed, test skipped. This is NOT fatal.'); - skip('mandoc not installed', 3); + skip( 'mandoc not installed', 3 ); } - for my $file ('feh', 'feh-cam', 'gen-cam-menu') { + for my $file ( 'feh', 'feh-cam', 'gen-cam-menu' ) { qx{mandoc -Tlint man/${file}.1}; - is($?, 0, "${file}.1: Valid mdoc syntax"); + is( $?, 0, "${file}.1: Valid mdoc syntax" ); } } |