X-Git-Url: http://git.rot13.org/?p=Biblio-Isis;a=blobdiff_plain;f=t%2F2_isis.t;h=a7b9405694fa5b8e9e11205d105e115beaba3b41;hp=de74585f69ac963f736e2eda776c027495d926c0;hb=2f79725466971fcc6580b3c69eb330e0ca3c76f8;hpb=76f67433b94bf607e940c25db70cc753e3ffa211 diff --git a/t/2_isis.t b/t/2_isis.t index de74585..a7b9405 100755 --- a/t/2_isis.t +++ b/t/2_isis.t @@ -3,7 +3,7 @@ use strict; use blib; -use Test::More tests => 128; +use Test::More tests => 130; use File::Spec; BEGIN { @@ -238,3 +238,5 @@ cmp_ok($ascii, 'eq', <<'__END_OF_ASCII__', 'to_ascii output'); __END_OF_ASCII__ +ok(my $hash2 = $isis->to_hash({ mfn => $isis->mfn }), 'to_hash(mfn)'); +is_deeply( $hash2, $hash, 'same hash' );