Mercurial > hg-git
view tests/test-help.t @ 1095:60a82693d43c
tests: fix bad (re) match
It seems fffe8883960b incorrectly did a match on the second
parent (which is null) and that core Mercurial mistakenly matched the
whole line with (re). This was recently fixed in 6d5718e39657 in core,
so let's update the test with the correct match.
author | Sean Farley <sean@farley.io> |
---|---|
date | Thu, 30 Nov 2017 14:49:06 -0800 |
parents | 00afe8290cd4 |
children |
line wrap: on
line source
Tests that the various help files are properly registered Load commonly used test logic $ . "$TESTDIR/testutil" $ hg help | grep 'git' | sed 's/ */ /g' hggit push and pull from a Git server git Working with Git Repositories Mercurial 3.7+ uses single quotes $ hg help hggit | grep 'help git' | sed "s/'/\"/g" For more information and instructions, see "hg help git" $ hg help git | grep 'Working with Git Repositories' Working with Git Repositories