aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-07-17 13:30:08 -0400
committerJoey Hess <joey@kitenet.net>2010-07-17 13:30:08 -0400
commitbfa4660df78aaae5f7c2b41caeccf6732ed4d74e (patch)
tree8e3f98a8c88d1368bc36e9e06c7a10d80b467304 /t
parentc9dd98cf945385b8a802e5f9d0ffb4041251c9fa (diff)
downloadikiwiki-bfa4660df78aaae5f7c2b41caeccf6732ed4d74e.tar
ikiwiki-bfa4660df78aaae5f7c2b41caeccf6732ed4d74e.tar.gz
update
Diffstat (limited to 't')
-rwxr-xr-xt/conflicts.t9
1 files changed, 8 insertions, 1 deletions
diff --git a/t/conflicts.t b/t/conflicts.t
index 7748c105f..ac5f93b03 100755
--- a/t/conflicts.t
+++ b/t/conflicts.t
@@ -2,7 +2,7 @@
# Tests for bugs relating to conflicting files in the srcdir
use warnings;
use strict;
-use Test::More 'no_plan';
+use Test::More tests => 48;
# setup
my $srcdir="t/tmp/src";
@@ -70,6 +70,13 @@ setupiki("initial setup");
ok(! system("mkdir -p $srcdir/foo"));
ok(! system("touch $srcdir/foo/index.html"));
refreshiki("rawhtml file rendered same as existing page in refresh");
+# Inverse added when refreshing
+newsrcdir();
+ok(! system("mkdir -p $srcdir/foo"));
+ok(! system("touch $srcdir/foo/index.html"));
+setupiki("initial setup");
+ok(! system("touch $srcdir/foo.mdwn"));
+refreshiki("page rendered same as existing rawhtml file in refresh");
# Present during setup
newsrcdir();
ok(! system("touch $srcdir/foo.mdwn"));