aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-12-08 13:16:22 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-12-08 13:16:30 +1300
commit0528f7f6a94e31bfa7a43dc51427d314061f55de (patch)
treef73ae060b8aa3e4e003bae6601348689cf7ad38c
parentAdd file load testing (diff)
downloadMusic-Lyrics-LRC-0528f7f6a94e31bfa7a43dc51427d314061f55de.tar.gz
Music-Lyrics-LRC-0528f7f6a94e31bfa7a43dc51427d314061f55de.zip
Count %tags more correctly in load test
-rw-r--r--t/load.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/load.t b/t/load.t
index 42d10a5..026117b 100644
--- a/t/load.t
+++ b/t/load.t
@@ -20,7 +20,7 @@ ok( $lrc->load($fh), 'loaded' );
close $fh or die "$ERRNO\n";
my %tags = %{ $lrc->tags };
-ok( %tags == 2, 'tags_count' );
+ok( keys %tags == 2, 'tags_count' );
my @lyrics = @{ $lrc->lyrics };
ok( @lyrics == 4, 'lines_count' );