summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-07-20 15:06:06 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-07-20 15:06:06 +0200
commitf778c553ef832660555822e9550864624bc8186b (patch)
tree596b30c74d427066c1ef2b06fb1834f1bec2fb60 /t
parent253e74d49ac3ec7f064aa0fc18eafc3b09cde9a4 (diff)
Prepare for configurable key setup cost
Diffstat (limited to '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');