Software /
code /
prosody-modules
Diff
mod_lib_ldap/dev/t/02-vcard.t @ 827:e801edea846a
Compare decoded JPEG avatar data
author | Rob Hoelz <rob@hoelz.ro> |
---|---|
date | Tue, 18 Sep 2012 00:14:00 +0200 |
parent | 825:abdc5db04152 |
child | 828:855b28e10b39 |
line wrap: on
line diff
--- a/mod_lib_ldap/dev/t/02-vcard.t Tue Sep 18 00:13:37 2012 +0200 +++ b/mod_lib_ldap/dev/t/02-vcard.t Tue Sep 18 00:14:00 2012 +0200 @@ -4,6 +4,7 @@ use TestConnection; use AnyEvent::XMPP::Ext::VCard; +use MIME::Base64 qw(decode_base64); use Test::More; sub test_vcard { @@ -66,7 +67,7 @@ my $data = <DATA>; chomp $data; - $data + decode_base64($data) }; test_vcard(one => {