Fix bug in test
authorMarius Gavrilescu <marius@ieval.ro>
Sat, 14 Apr 2018 19:22:43 +0000 (22:22 +0300)
committerMarius Gavrilescu <marius@ieval.ro>
Sat, 14 Apr 2018 19:22:43 +0000 (22:22 +0300)
t/Authen-Passphrase-Scrypt.t

index aceef26d43612a5ba596ddfaa5ea0f462fdb33d4..48dbcb01402116a5317ab9a079302e38f996c4ec 100644 (file)
@@ -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) }
 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) }
 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 }
 throws_ok { Authen::Passphrase::Scrypt->from_crypt('') }
   qr/does not support crypt strings/, 'from_crypt';
 throws_ok { $y->as_crypt }
This page took 0.011069 seconds and 4 git commands to generate.