aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2019-02-03 16:05:13 +0000
committerSimon McVittie <smcv@debian.org>2019-02-03 16:18:18 +0000
commit4ac930380b434fcbe1fbfa29f474591cf4bebf69 (patch)
tree11522aeb4034542208aeed7a767e4bad433a3cba
parentfe4e7cd3f7a59292f54b9d0033d6cf7ad9010f3e (diff)
downloadikiwiki-4ac930380b434fcbe1fbfa29f474591cf4bebf69.tar
ikiwiki-4ac930380b434fcbe1fbfa29f474591cf4bebf69.tar.gz
comments.t: Exercise post-2009 comment naming
Since commit 6af6c89d, comments are in files whose names contain a hash. Signed-off-by: Simon McVittie <smcv@debian.org>
-rwxr-xr-xt/comments.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/comments.t b/t/comments.t
index f2e32c46e..9bc40b66a 100755
--- a/t/comments.t
+++ b/t/comments.t
@@ -39,7 +39,7 @@ $comment = <<EOF;
date="1969-02-12T07:00:00Z"
content="I explored"]]
EOF
-writefile("post/comment_2._comment", "t/tmp/in", $comment);
+writefile("post/comment_2_10a49d69282155c5c3e66dc58f64f956._comment", "t/tmp/in", $comment);
$comment = <<EOF;
[[!comment username="william"
@@ -50,7 +50,7 @@ writefile("post/comment_1._comment", "t/tmp/in", $comment);
# Give the files mtimes in the wrong order
ok(utime(111111111, 111111111, "t/tmp/in/post/comment_3._comment"));
-ok(utime(222222222, 222222222, "t/tmp/in/post/comment_2._comment"));
+ok(utime(222222222, 222222222, "t/tmp/in/post/comment_2_10a49d69282155c5c3e66dc58f64f956._comment"));
ok(utime(333333333, 333333333, "t/tmp/in/post/comment_1._comment"));
# Build the wiki