File: escape.t

package info (click to toggle)
libtext-vcard-perl 3.06-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 352 kB
  • ctags: 110
  • sloc: perl: 1,535; makefile: 2
file content (10 lines) | stat: -rw-r--r-- 296 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
use Test::Most;
use Text::vCard::Addressbook;
use Path::Tiny;

my $in_file      = path('t/complete.vcf');
my $address_book = Text::vCard::Addressbook->load( [$in_file] );
my $vcard        = $address_book->vcards->[0];
is $vcard->fullname, 'Bruce Banner, PhD', ', was not escaped';

done_testing;