Fix a typo in the web commit test.
authorAmitai Schlair <schmonz-web-ikiwiki@schmonz.com>
Sat, 21 Jan 2012 20:25:57 +0000 (15:25 -0500)
committerAmitai Schlair <schmonz-web-ikiwiki@schmonz.com>
Sun, 22 Jan 2012 15:44:49 +0000 (10:44 -0500)
t/cvs.t

diff --git a/t/cvs.t b/t/cvs.t
index fdd26dbc812ed2e99d2905a931e431f28644b84e..c4e9eb2765c66a0d0ce723841f0116581b15ea09 100755 (executable)
--- a/t/cvs.t
+++ b/t/cvs.t
@@ -7,7 +7,6 @@ use IkiWiki;
 my $dir;
 
 sub _determine_test_plan {
-
        my $cvs=`which cvs`; chomp $cvs;
        my $cvsps=`which cvsps`; chomp $cvsps;
        return (skip_all => 'cvs or cvsps not available')
@@ -65,9 +64,9 @@ sub test_web_commit {
        writefile('test1.mdwn', $config{srcdir}, $test1);
        IkiWiki::rcs_add("test1.mdwn");
        IkiWiki::rcs_commit(
-               files => "test1.mdwn",
+               file => "test1.mdwn",
                message => "Added the first page",
-               token => "moo"
+               token => "moo",
        );
 
        my @changes = IkiWiki::rcs_recentchanges(3);