On Sat, 04 Aug 2012 23:40:36 +0200, Salvatore Bonaccorso wrote:

> A (really!) lazy workaround for this would be to remove the matching
> at the beginning of the string (or disable the tests).

Yup, not elegant but the content of the pages ("<h1>Help" etc.) seem
to be there, there's just more before that.

> Description: Woraround FTBFS due tests failures
>  Woraround by removing the matching at the beginning of the string
>  as it seems now the <h1> tags are not anymore at the beginning of
>  the strings.

s/Woraround/Workaround/g
:)

> -# match against the start of the string, \A, to make sure no page cruft gets 
> included besides the content
> -content_like('/.jsrpc/render?content=%7B%7Binclude 
> http://localhost/help%7D%7D', qr/\A<h1>Help/,
> +content_like('/.jsrpc/render?content=%7B%7Binclude 
> http://localhost/help%7D%7D', qr/<h1>Help/,
>               'include part of wiki, absolute URL');

I have to admit that the comment about \A makes ma a bit nervous ...


Hm, and what's also weird in the test output is the fact that quite a
few HTML elements are wrapped in an additional <p>...</p> which seems
wrong to me. So, maybe, there is a real problem somewhere?


Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Paul McCartney: I Got Stung

Attachment: signature.asc
Description: Digital signature

Reply via email to