From 20b84f19e281d1e63603a387cf89ff70ece44a16 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Sat, 14 Apr 2018 22:22:43 +0300 Subject: [PATCH] Fix bug in test --- t/Authen-Passphrase-Scrypt.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/Authen-Passphrase-Scrypt.t b/t/Authen-Passphrase-Scrypt.t index aceef26..48dbcb0 100644 --- a/t/Authen-Passphrase-Scrypt.t +++ b/t/Authen-Passphrase-Scrypt.t @@ -52,9 +52,9 @@ throws_ok { Authen::Passphrase::Scrypt->new } throws_ok { Authen::Passphrase::Scrypt->from_rfc2307('bad') } qr/Invalid Scrypt RFC2307/, 'from_rfc2307 with bad string'; throws_ok { Authen::Passphrase::Scrypt->from_rfc2307($bad_rfc2307_1) } - qr/Invalid Scrypt RFC2307: should start/, 'from_rfc2307 with another bad string'; + qr/Invalid Scrypt hash: should start/, 'from_rfc2307 with another bad string'; throws_ok { Authen::Passphrase::Scrypt->from_rfc2307($bad_rfc2307_2) } - qr/Invalid Scrypt RFC2307: bad checksum/, 'from_rfc2307 with yet another rfc2307'; + qr/Invalid Scrypt hash: bad checksum/, 'from_rfc2307 with yet another rfc2307'; throws_ok { Authen::Passphrase::Scrypt->from_crypt('') } qr/does not support crypt strings/, 'from_crypt'; throws_ok { $y->as_crypt } -- 2.30.2