]> Dogcows Code - chaz/p5-File-KDBX/blobdiff - t/crypt.t
Add key file saving and refactor some stuff
[chaz/p5-File-KDBX] / t / crypt.t
index 576f7085ed2ba883ce7aec16b9f6aa25546e74a3..7e54ce916e4e9f9263ac7e2bdf6437782946147e 100644 (file)
--- a/t/crypt.t
+++ b/t/crypt.t
@@ -7,13 +7,12 @@ use lib 't/lib';
 use TestCommon;
 
 use Crypt::Misc 0.029 qw(decode_b64 encode_b64);
+use File::KDBX::Cipher;
 use File::KDBX::Constants qw(CIPHER_UUID_AES256);
 use IO::Handle;
+use PerlIO::via::File::KDBX::Crypt;
 use Test::More;
 
-BEGIN { use_ok 'File::KDBX::Cipher' }
-BEGIN { use_ok 'PerlIO::via::File::KDBX::Crypt' }
-
 subtest 'Round-trip block stream' => sub {
     plan tests => 3;
     my $block_cipher = File::KDBX::Cipher->new(uuid => CIPHER_UUID_AES256, key => 0x01 x 32, iv => 0x01 x 16);
This page took 0.01762 seconds and 4 git commands to generate.