X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/390f12a845e65e30ce3c189d62dc4ca8c637e3f0..60188d728080c3e558b647d7595ea376944f51d0:/t/inline.t?ds=sidebyside diff --git a/t/inline.t b/t/inline.t index b34cd27dc..726227b8f 100755 --- a/t/inline.t +++ b/t/inline.t @@ -20,16 +20,17 @@ sub write_old_file { write_old_file("protagonists.mdwn", '[[!inline pages="protagonists/*" rootpage="protagonists/new"]]'); write_old_file("friends.mdwn", - '[[!inline pages="friends/*" postform=yes]]'); + '[[!inline pages="friends/*" postform=yes sort=title show=2]]'); write_old_file("antagonists.mdwn", '[[!inline pages="antagonists/*"]]'); write_old_file("enemies.mdwn", - '[[!inline pages="enemies/*" postform=no rootpage=enemies]]'); + '[[!inline pages="enemies/*" postform=no rootpage=enemies sort=title reverse=yes show=2]]'); foreach my $page (qw(protagonists/shepard protagonists/link antagonists/saren antagonists/ganondorf - friends/liara friends/midna - enemies/benezia enemies/zant)) { - write_old_file("$page.mdwn", "this page is *$page*"); + friends/garrus friends/liara friends/midna friends/telma + enemies/benezia enemies/geth enemies/rachni + enemies/zant)) { + write_old_file("$page.mdwn", "this page is {$page}"); } ok(! system("make -s ikiwiki.out")); @@ -49,11 +50,19 @@ $blob = readfile("t/tmp/out/friends.html"); like($blob, qr{Add a new post}, 'postform=yes forces postform'); like($blob, qr{