From 36f1748bcb7a310ab54361b78cd143ccb1cbb5d3 Mon Sep 17 00:00:00 2001 From: Guillaume Rousse Date: Wed, 5 Dec 2012 12:13:29 +0000 Subject: initial import --- t/06spelling.t | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 t/06spelling.t diff --git a/t/06spelling.t b/t/06spelling.t new file mode 100755 index 00000000..90e36e48 --- /dev/null +++ b/t/06spelling.t @@ -0,0 +1,24 @@ +#!/usr/bin/perl + +use strict; +use warnings; + +use English qw(-no_match_vars); +use Test::More; + +plan(skip_all => 'Author test, set $ENV{TEST_AUTHOR} to a true value to run') + if !$ENV{TEST_AUTHOR}; + +eval { + require Test::Pod; + Test::Pod->import(); +}; +plan(skip_all => 'Test::Pod required') if $EVAL_ERROR; + +eval { + require Test::Pod::Spelling::CommonMistakes; + Test::Pod::Spelling::CommonMistakes->import(); +}; +plan(skip_all => 'Test::Pod::Spelling::CommonMistakes required') if $EVAL_ERROR; + +all_pod_files_ok(all_pod_files('urpm')); -- cgit v1.2.1