diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-14 02:25:13 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-14 02:25:35 +1300 |
commit | 4be86837275350f66a32bb7c4740f3e42176579b (patch) | |
tree | 04200c849cbdf064fa6ab66543dd4f49c07d069d | |
parent | Add diagnostics for file messages (diff) | |
download | Mail-Run-Crypt-4be86837275350f66a32bb7c4740f3e42176579b.tar.gz Mail-Run-Crypt-4be86837275350f66a32bb7c4740f3e42176579b.zip |
One basic test to start: can we instantiate?
-rw-r--r-- | MANIFEST | 1 | ||||
-rw-r--r-- | t/instantiate.t | 15 |
2 files changed, 16 insertions, 0 deletions
@@ -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' ); |