summaryrefslogtreecommitdiff
path: root/test/mandoc.t
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2013-09-26 19:36:15 +0200
committerDaniel Friesel <derf@finalrewind.org>2013-09-26 19:36:15 +0200
commit013b068c7650ab1ef92cab6a54da6abf39673eba (patch)
treed513070f538443b7d561c5e46f988a857741d9d0 /test/mandoc.t
parentf74385dec092224d046dddc02b731ee30405710f (diff)
test re-organization and code cleanup
Diffstat (limited to 'test/mandoc.t')
-rwxr-xr-xtest/mandoc.t8
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" );
}
}