summaryrefslogtreecommitdiff
path: root/t/20-app-raps2-password.t
diff options
context:
space:
mode:
Diffstat (limited to 't/20-app-raps2-password.t')
-rw-r--r--t/20-app-raps2-password.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/20-app-raps2-password.t b/t/20-app-raps2-password.t
index a8f56e8..4d8f474 100644
--- a/t/20-app-raps2-password.t
+++ b/t/20-app-raps2-password.t
@@ -67,10 +67,10 @@ $pw = App::Raps2::Password->new(
isa_ok($pw, 'App::Raps2::Password');
-is($pw->decrypt('53616c7465645f5f80d8c367e15980d43ec9a6eabc5390b4'), 'quux',
+is($pw->decrypt(data => '53616c7465645f5f80d8c367e15980d43ec9a6eabc5390b4'), 'quux',
'decrypt okay');
-is($pw->decrypt($pw->encrypt('foo')), 'foo', 'encrypt->decrypt okay');
+is($pw->decrypt(data => $pw->encrypt(data => 'foo')), 'foo', 'encrypt->decrypt okay');
ok($pw->verify('3lJRlaRuOGWv/z3g1DAOlcH.u9vS8Wm'), 'verify: verifies correct hash');