summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@mageia.org>2012-12-05 12:13:29 +0000
committerGuillaume Rousse <guillomovitch@mageia.org>2012-12-05 12:13:29 +0000
commit36f1748bcb7a310ab54361b78cd143ccb1cbb5d3 (patch)
treeb4d60eb68a822d14521f0f62adbb5f6fcca59cd6
parentbfe45b39b5a6ff927fd25199ec6be3edba039fa7 (diff)
downloadurpmi-36f1748bcb7a310ab54361b78cd143ccb1cbb5d3.tar
urpmi-36f1748bcb7a310ab54361b78cd143ccb1cbb5d3.tar.gz
urpmi-36f1748bcb7a310ab54361b78cd143ccb1cbb5d3.tar.bz2
urpmi-36f1748bcb7a310ab54361b78cd143ccb1cbb5d3.tar.xz
urpmi-36f1748bcb7a310ab54361b78cd143ccb1cbb5d3.zip
initial import
-rwxr-xr-xt/06spelling.t24
1 files changed, 24 insertions, 0 deletions
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'));