view tests/test-help.t @ 984:00afe8290cd4

test-help: fix for Mercurial 3.7 The other `sed` seems to no longer be necessary, so remove it.
author Siddharth Agarwal <sid0@fb.com>
date Mon, 01 Feb 2016 16:56:54 -0800
parents a7da97e69d56
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