# HG changeset patch # User Henri Wiechers # Date 1261673615 -7200 # Node ID f6ac05b5684b1c51ce0b941676fb132fa631a339 # Parent 44fa0e205ec98b36f765d713e7262ff42de9e72e test-help: improve test coverage Adds a test for displaying a command list with a command with no help text. Extends test coverage of commands.help_ by 1 line. diff -r 44fa0e205ec9 -r f6ac05b5684b tests/test-help --- a/tests/test-help Thu Dec 24 18:53:35 2009 +0200 +++ b/tests/test-help Thu Dec 24 18:53:35 2009 +0200 @@ -51,4 +51,7 @@ echo %% test that default list of commands omits extension commands hg help +echo %% test list of commands with command with no help text +hg help helpext + exit 0 diff -r 44fa0e205ec9 -r f6ac05b5684b tests/test-help.out --- a/tests/test-help.out Thu Dec 24 18:53:35 2009 +0200 +++ b/tests/test-help.out Thu Dec 24 18:53:35 2009 +0200 @@ -542,3 +542,11 @@ extensions Using additional features use "hg -v help" to show aliases and global options +%% test list of commands with command with no help text +helpext extension - no help text available + +list of commands: + + nohelp (no help text available) + +use "hg -v help helpext" to show aliases and global options