summaryrefslogtreecommitdiff
path: root/xt/author
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2015-05-25 00:55:18 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2015-05-25 00:55:18 +0000
commit475e3c7cb559a68109d8c90ab8ff0b6a37c98793 (patch)
treec1b5b4aab1e8ecc28bc7a52eca7fb7d740ff0547 /xt/author
downloadFile-Spec-Native-tarball-475e3c7cb559a68109d8c90ab8ff0b6a37c98793.tar.gz
File-Spec-Native-1.004HEADFile-Spec-Native-1.004master
Diffstat (limited to 'xt/author')
-rw-r--r--xt/author/critic.t12
-rw-r--r--xt/author/eol.t19
-rw-r--r--xt/author/no-tabs.t19
-rw-r--r--xt/author/pod-spell.t19
4 files changed, 69 insertions, 0 deletions
diff --git a/xt/author/critic.t b/xt/author/critic.t
new file mode 100644
index 0000000..d5b4c96
--- /dev/null
+++ b/xt/author/critic.t
@@ -0,0 +1,12 @@
+#!perl
+
+use strict;
+use warnings;
+
+use Test::More;
+use English qw(-no_match_vars);
+
+eval "use Test::Perl::Critic";
+plan skip_all => 'Test::Perl::Critic required to criticise code' if $@;
+Test::Perl::Critic->import( -profile => "perlcritic.rc" ) if -e "perlcritic.rc";
+all_critic_ok();
diff --git a/xt/author/eol.t b/xt/author/eol.t
new file mode 100644
index 0000000..349d29d
--- /dev/null
+++ b/xt/author/eol.t
@@ -0,0 +1,19 @@
+use strict;
+use warnings;
+
+# this test was generated with Dist::Zilla::Plugin::Test::EOL 0.18
+
+use Test::More 0.88;
+use Test::EOL;
+
+my @files = (
+ 'lib/File/Spec/Native.pm',
+ 't/00-compile.t',
+ 't/00-report-prereqs.dd',
+ 't/00-report-prereqs.t',
+ 't/native.t',
+ 't/path-class.t'
+);
+
+eol_unix_ok($_, { trailing_whitespace => 1 }) foreach @files;
+done_testing;
diff --git a/xt/author/no-tabs.t b/xt/author/no-tabs.t
new file mode 100644
index 0000000..0595563
--- /dev/null
+++ b/xt/author/no-tabs.t
@@ -0,0 +1,19 @@
+use strict;
+use warnings;
+
+# this test was generated with Dist::Zilla::Plugin::Test::NoTabs 0.14
+
+use Test::More 0.88;
+use Test::NoTabs;
+
+my @files = (
+ 'lib/File/Spec/Native.pm',
+ 't/00-compile.t',
+ 't/00-report-prereqs.dd',
+ 't/00-report-prereqs.t',
+ 't/native.t',
+ 't/path-class.t'
+);
+
+notabs_ok($_) foreach @files;
+done_testing;
diff --git a/xt/author/pod-spell.t b/xt/author/pod-spell.t
new file mode 100644
index 0000000..af559e1
--- /dev/null
+++ b/xt/author/pod-spell.t
@@ -0,0 +1,19 @@
+use strict;
+use warnings;
+use Test::More;
+
+# generated by Dist::Zilla::Plugin::Test::PodSpelling 2.006009
+use Test::Spelling 0.12;
+use Pod::Wordlist;
+
+
+add_stopwords(<DATA>);
+all_pod_files_spelling_ok( qw( bin lib ) );
+__DATA__
+Randy
+Stauner
+rwstauner
+lib
+File
+Spec
+Native