Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 880fcf2505
Fetching contributors…

Cannot retrieve contributors at this time

executable file 27 lines (20 sloc) 0.805 kb
# Before `make install' is performed this script should be runnable with
# `make test'. After `make install' it should work as `perl 1.t'
#########################
# change 'tests => 1' to 'tests => last_test_to_print';
use Test;
BEGIN { plan tests => 8 };
use AudioFile::Info;
ok(1);
#########################
# Insert your test code below, the Test::More module is use()ed here so read
# its man page ( perldoc Test::More ) for help writing this test script.
my $song = AudioFile::Info->new('t/test.mp3',
{ mp3 => 'AudioFile::Info::MP3::Info' });
ok(ref $song eq 'AudioFile::Info::MP3::Info');
ok($song->title eq 'test');
ok($song->artist eq 'davorg');
ok($song->album eq 'none');
ok($song->track eq '0');
ok($song->year eq '2003');
ok($song->genre eq 'nonsense');
Jump to Line
Something went wrong with that request. Please try again.