diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-12-08 13:16:22 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-12-08 13:16:30 +1300 |
commit | 0528f7f6a94e31bfa7a43dc51427d314061f55de (patch) | |
tree | f73ae060b8aa3e4e003bae6601348689cf7ad38c | |
parent | Add file load testing (diff) | |
download | Music-Lyrics-LRC-0528f7f6a94e31bfa7a43dc51427d314061f55de.tar.gz Music-Lyrics-LRC-0528f7f6a94e31bfa7a43dc51427d314061f55de.zip |
Count %tags more correctly in load test
-rw-r--r-- | t/load.t | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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' ); |