[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] new python authz tests

From: David James <djames_at_collab.net>
Date: 2006-05-09 00:47:23 CEST

On 5/8/06, Garrett Rooney <rooneg@electricjellyfish.net> wrote:
> > One thing that I found odd is that when expected_err = "", the tests will
> > still work. I assumed the empty string was handled as no error at all, but
> > it seems to match all kinds of error output.
>
> That is kind of odd...
expected_err is a regular expression, so "" matches anything. If you
want to match the empty string you should use "^$".

Cheers,

David

--
David James -- http://www.cs.toronto.edu/~james
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue May 9 00:47:57 2006

This is an archived mail posted to the Subversion Dev mailing list.