Update tests
authorMarius Gavrilescu <Marius Gavrilescu>
Sun, 18 Aug 2013 07:13:45 +0000 (10:13 +0300)
committerMarius Gavrilescu <Marius Gavrilescu>
Sun, 18 Aug 2013 07:13:45 +0000 (10:13 +0300)
lib/App/MusicExpo.pm
t/App-MusicExpo.t

index 42526fa749045cc5c48326874770c78427e7ca38..1ad37688f7af720bfd2e73c7efb8c6cf2cb8b0e4 100644 (file)
@@ -31,6 +31,7 @@ GetOptions (
 
 sub fix{
   utf8::decode($_[0]);
+  $_[0]
 }
 
 sub flacinfo{
index 33f5b1e3b9cd68a332cd62f3bf97362f730154fc..6dfc4550421fab69cad8f769fa8e28f13b1707d0 100644 (file)
@@ -8,8 +8,6 @@ use Storable qw/thaw/;
 
 BEGIN { use_ok('App::MusicExpo'); }
 
-$App::MusicExpo::caching = 0;
-
 my $flacinfo = thaw App::MusicExpo::flacinfo 'empty.flac';
 my $mp3info = thaw App::MusicExpo::mp3info 'empty.mp3';
 
@@ -17,7 +15,7 @@ is $flacinfo->{format}, 'FLAC', 'flacinfo format';
 is $flacinfo->{title}, 'Cellule', 'flacinfo title';
 is $flacinfo->{artist}, 'Silence', 'flacinfo artist';
 is $flacinfo->{year}, 2005, 'flacinfo year';
-is $flacinfo->{album}, 'L&#39;autre endroit', 'flacinfo album';
+is $flacinfo->{album}, 'L\'autre endroit', 'flacinfo album';
 is $flacinfo->{tracknumber}, '01', 'flacinfo tracknumber';
 is $flacinfo->{tracktotal}, '09', 'flacinfo tracktotal';
 is $flacinfo->{genre}, 'Electro', 'flacinfo genre';
@@ -27,7 +25,7 @@ is $mp3info->{format}, 'MP3', 'mp3info format';
 is $mp3info->{title}, 'Cellule', 'mp3info title';
 is $mp3info->{artist}, 'Silence', 'mp3info artist';
 is $mp3info->{year}, 2005, 'mp3info year';
-is $mp3info->{album}, 'L&#39;autre endroit', 'mp3info album';
+is $mp3info->{album}, 'L\'autre endroit', 'mp3info album';
 is $mp3info->{tracknumber}, '01', 'mp3info tracknumber';
 is $mp3info->{tracktotal}, '09', 'mp3info tracktotal';
 is $mp3info->{genre}, 'Electro', 'mp3info genre';
This page took 0.012022 seconds and 4 git commands to generate.