From 4be86837275350f66a32bb7c4740f3e42176579b Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 14 Oct 2017 02:25:13 +1300 Subject: One basic test to start: can we instantiate? --- MANIFEST | 1 + t/instantiate.t | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 t/instantiate.t 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' ); -- cgit v1.2.3