aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-10-11 19:05:37 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-10-11 19:05:37 -0400
commit04d0a72c09528a4117b2ba641f5fdedbbe2a2171 (patch)
tree3a2d7bb66990884cf8a46519ec0ad6de49fa8cb6 /t
parenta7cb3090902e23e2b0f2371539ade7ec5a4ba01b (diff)
downloadikiwiki-04d0a72c09528a4117b2ba641f5fdedbbe2a2171.tar
ikiwiki-04d0a72c09528a4117b2ba641f5fdedbbe2a2171.tar.gz
typo
Diffstat (limited to 't')
-rwxr-xr-xt/add_depends.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/add_depends.t b/t/add_depends.t
index e3f0b6603..9b074818c 100755
--- a/t/add_depends.t
+++ b/t/add_depends.t
@@ -1,7 +1,7 @@
#!/usr/bin/perl
use warnings;
use strict;
-use Test::More tests => 88;
+use Test::More tests => 38;
BEGIN { use_ok("IkiWiki"); }
%config=IkiWiki::defaultconfig();
@@ -39,7 +39,7 @@ ok($IkiWiki::depends_simple{foo2}{"bar"} & $IkiWiki::DEPEND_LINKS);
ok(! ($IkiWiki::depends_simple{foo2}{"bar"} & ($IkiWiki::DEPEND_PRESENCE | $IkiWiki::DEPEND_CONTENT)));
# adding combined dep types
-ok(add_depends("foo2", "baz", deptype("links". "presence")));
+ok(add_depends("foo2", "baz", deptype("links", "presence")));
ok($IkiWiki::depends_simple{foo2}{"baz"} & $IkiWiki::DEPEND_LINKS);
ok($IkiWiki::depends_simple{foo2}{"baz"} & $IkiWiki::DEPEND_PRESENCE);
ok(! ($IkiWiki::depends_simple{foo2}{"baz"} & $IkiWiki::DEPEND_CONTENT));