diff --git a/t/comments.t b/t/comments.t index 9bc40b66a..fc87d72ff 100755 --- a/t/comments.t +++ b/t/comments.t @@ -68,6 +68,18 @@ sub slurp { my $content = slurp("t/tmp/out/post/index.html"); ok(defined $content); -ok($content =~ m/I conquered.*I explored.*I landed/s); +like($content, qr/I conquered.*I explored.*I landed/s); + +$content = slurp("t/tmp/out/post/index.atom"); +ok(defined $content); +like($content, qr{ + '); +unlike($content, qr{