Mercurial > public > mercurial-scm > hg-stable
diff tests/hghave.py @ 27114:a636a46f5094
hghave.py: fix matchoutput documentation
author | timeless <timeless@mozdev.org> |
---|---|
date | Tue, 24 Nov 2015 22:31:56 +0000 |
parents | 0f76c64f5cc3 |
children | e1f55b50edcb |
line wrap: on
line diff
--- a/tests/hghave.py Tue Nov 24 14:23:46 2015 -0800 +++ b/tests/hghave.py Tue Nov 24 22:31:56 2015 +0000 @@ -68,7 +68,7 @@ sys.exit(1) def matchoutput(cmd, regexp, ignorestatus=False): - """Return True if cmd executes successfully and its output + """Return the match object if cmd executes successfully and its output is matched by the supplied regular expression. """ r = re.compile(regexp)