test location in hCalendar
[HTML5TV.git] / t / HTML5TV-hCalendar.t
index 6f30c19..75c095d 100755 (executable)
@@ -3,7 +3,7 @@
 use warnings;
 use strict;
 
-use Test::More tests => 7;
+use Test::More tests => 8;
 
 use lib 'lib';
 
@@ -15,7 +15,7 @@ my $path = shift @ARGV || 'media/hCalendar.html';
 
 ok( my $hcal = HTML5TV::hCalendar->new( $path ), "new $path" );
 
-foreach my $class ( qw/organiser summary url dtstart description/ ) {
+foreach my $class ( qw/organiser summary url location dtstart description/ ) {
        ok( defined( my $text = $hcal->$class ), $class );
        diag "$class: $text";
 }