aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-14 02:25:13 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-14 02:25:35 +1300
commit4be86837275350f66a32bb7c4740f3e42176579b (patch)
tree04200c849cbdf064fa6ab66543dd4f49c07d069d
parentAdd diagnostics for file messages (diff)
downloadMail-Run-Crypt-4be86837275350f66a32bb7c4740f3e42176579b.tar.gz
Mail-Run-Crypt-4be86837275350f66a32bb7c4740f3e42176579b.zip
One basic test to start: can we instantiate?
-rw-r--r--MANIFEST1
-rw-r--r--t/instantiate.t15
2 files changed, 16 insertions, 0 deletions
diff --git a/MANIFEST b/MANIFEST
index a768fea..8c78590 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -5,6 +5,7 @@ LICENSE
Makefile.PL
MANIFEST
README
+t/instantiate.t
xt/manifest.t
xt/pod-coverage.t
xt/pod.t
diff --git a/t/instantiate.t b/t/instantiate.t
new file mode 100644
index 0000000..eca8e48
--- /dev/null
+++ b/t/instantiate.t
@@ -0,0 +1,15 @@
+#!perl -T
+
+use strict;
+use warnings;
+use utf8;
+
+use Test::More tests => 1;
+
+use Mail::Run::Crypt;
+
+our $VERSION = '0.01';
+
+my $mrc = Mail::Run::Crypt->new( mailto => 'nobody@example.com' );
+
+isnt( $mrc, undef, 'instantiate' );