Wrap a long line.
authorAmitai Schlair <schmonz-web-ikiwiki@schmonz.com>
Sun, 17 Feb 2013 15:09:05 +0000 (10:09 -0500)
committerAmitai Schlair <schmonz-web-ikiwiki@schmonz.com>
Wed, 20 Feb 2013 01:22:46 +0000 (20:22 -0500)
t/podcast.t

index 50493aff6a6d3f7b104fcd3989508706c92259eb..4a5bde6a9c0165f7b01daac522cf52ba4989ca78 100755 (executable)
@@ -14,8 +14,13 @@ BEGIN {
 
 sub simple_podcast {
        my $baseurl = 'http://example.com';
+       my @command = (qw(./ikiwiki.out -plugin inline -rss -atom));
+       push @command, qw(-underlaydir=underlays/basewiki);
+       push @command, qw(-set underlaydirbase=underlays -templatedir=templates);
+       push @command, "-url=$baseurl", qw(t/tinypodcast t/tmp/out);
+
        ok(! system("mkdir t/tmp"));
-       ok(! system("./ikiwiki.out -plugin inline -url=$baseurl -rss -atom -underlaydir=underlays/basewiki -set underlaydirbase=underlays -templatedir=templates t/tinypodcast t/tmp/out"));
+       ok(! system(@command));
 
        my %media_types = (
                'piano.mp3'     => 'audio/mpeg',