aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-27 20:22:53 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-27 20:22:53 +1300
commitadb108ba6cf891781b58e03df866280a14d47265 (patch)
tree7ed1cf4ff74acf4415a9ffdea733838be4b70677 /t
parentBump version number (diff)
downloadMail-Run-Crypt-adb108ba6cf891781b58e03df866280a14d47265.tar.gz (sig)
Mail-Run-Crypt-adb108ba6cf891781b58e03df866280a14d47265.zip
Use warn/die properly, bump version numberv0.09
Diffstat (limited to 't')
-rw-r--r--t/custom-name.t2
-rw-r--r--t/encrypt-explicit.t2
-rw-r--r--t/encrypt-sign.t2
-rw-r--r--t/encrypt.t2
-rw-r--r--t/require-key-data.t6
-rw-r--r--t/require-mailto.t4
6 files changed, 9 insertions, 9 deletions
diff --git a/t/custom-name.t b/t/custom-name.t
index 865c26d..ba053e3 100644
--- a/t/custom-name.t
+++ b/t/custom-name.t
@@ -8,7 +8,7 @@ use Test::More tests => 2;
use Mail::Run::Crypt;
-our $VERSION = '0.08';
+our $VERSION = '0.09';
my $name = 'mrc_custom';
my %opts = (
diff --git a/t/encrypt-explicit.t b/t/encrypt-explicit.t
index 27b2e4d..24bc591 100644
--- a/t/encrypt-explicit.t
+++ b/t/encrypt-explicit.t
@@ -8,7 +8,7 @@ use Test::More tests => 2;
use Mail::Run::Crypt;
-our $VERSION = '0.08';
+our $VERSION = '0.09';
my %opts = ( mailto => 'nobody@example.com', encrypt => 1 );
my $mrc = Mail::Run::Crypt->new(%opts);
diff --git a/t/encrypt-sign.t b/t/encrypt-sign.t
index 1535bef..aeac091 100644
--- a/t/encrypt-sign.t
+++ b/t/encrypt-sign.t
@@ -8,7 +8,7 @@ use Test::More tests => 10;
use Mail::Run::Crypt;
-our $VERSION = '0.08';
+our $VERSION = '0.09';
my %opts = (
mailto => 'nobody@example.com',
diff --git a/t/encrypt.t b/t/encrypt.t
index a3ddd7c..3accd9c 100644
--- a/t/encrypt.t
+++ b/t/encrypt.t
@@ -8,7 +8,7 @@ use Test::More tests => 10;
use Mail::Run::Crypt;
-our $VERSION = '0.08';
+our $VERSION = '0.09';
my %opts = ( mailto => 'nobody@example.com' );
my $mrc = Mail::Run::Crypt->new(%opts);
diff --git a/t/require-key-data.t b/t/require-key-data.t
index 03be100..797175e 100644
--- a/t/require-key-data.t
+++ b/t/require-key-data.t
@@ -9,7 +9,7 @@ use Test::More tests => 4;
use Mail::Run::Crypt;
-our $VERSION = '0.08';
+our $VERSION = '0.09';
{
my $mrc;
@@ -21,7 +21,7 @@ our $VERSION = '0.08';
);
eval { $mrc = Mail::Run::Crypt->new(%opts) } or $error = $EVAL_ERROR;
ok( defined $error, 'no_keyid_failed' );
- ok( $error =~ m/^\Qkeyid required for signing/msx, 'no_keyid_errorstr' );
+ ok( $error =~ m/^\QKey ID required for signing/msx, 'no_keyid_errorstr' );
}
{
@@ -34,6 +34,6 @@ our $VERSION = '0.08';
);
eval { $mrc = Mail::Run::Crypt->new(%opts) } or $error = $EVAL_ERROR;
ok( defined $error, 'no_passphrase_failed' );
- ok( $error =~ m/^\Qpassphrase required for signing/msx,
+ ok( $error =~ m/^\QPassphrase required for signing/msx,
'no_passphrase_errorstr' );
}
diff --git a/t/require-mailto.t b/t/require-mailto.t
index 89f069f..d5d8293 100644
--- a/t/require-mailto.t
+++ b/t/require-mailto.t
@@ -9,11 +9,11 @@ use Test::More tests => 2;
use Mail::Run::Crypt;
-our $VERSION = '0.08';
+our $VERSION = '0.09';
my $mrc;
my $error;
eval { $mrc = Mail::Run::Crypt->new() } or $error = $EVAL_ERROR;
ok( defined $error, 'no_mailto_failed' );
-ok( $error =~ m/^\Qmailto required/msx, 'no_mailto_errorstr' );
+ok( $error =~ m/^\QMAILTO required/msx, 'no_mailto_errorstr' );