Problem writing test

Prasoon Shukla prasoon92.iitr at gmail.com
Fri Jan 3 07:58:41 CST 2014


Hi
I was working on issue 4141
<http://bz.selenic.com/show_bug.cgi?id=4141>and I'm having a hard time
writing a test.

The output is like this:

warning! multiple installs of hg detected:
  /home/prasoon/work/hgwork/hg
  /usr/bin/hg...

How do I match this output with a regex? Note that there can be any number
newlines (one for each mercurial install). I tried this using this:

warning! multiple installs of hg detected:[\S\s]*... (re)

but it doesn't seem to be working. So, how can this output be matched?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20140103/dae5cc55/attachment.html>


More information about the Mercurial-devel mailing list