##// END OF EJS Templates
tests: add tests for typoed commands...
Martin von Zweigbergk -
r33326:67b42e64 default
parent child Browse files
Show More
@@ -660,6 +660,28 b' Test command without options'
660 660 (use 'hg help' for the full list of commands or 'hg -v' for details)
661 661 [255]
662 662
663 Typoed command gives suggestion
664 $ hg puls
665 hg: unknown command 'puls'
666 (did you mean one of pull, push?)
667 [255]
668
669 Not enabled extension gets suggested
670
671 $ hg rebase
672 hg: unknown command 'rebase'
673 'rebase' is provided by the following extension:
674
675 rebase command to move sets of revisions to a different ancestor
676
677 (use 'hg help extensions' for information on enabling extensions)
678 [255]
679
680 Disabled extension gets suggested
681 $ hg --config extensions.rebase=! rebase
682 hg: unknown command 'rebase'
683 (did you mean one of rename, resolve?)
684 [255]
663 685
664 686 Make sure that we don't run afoul of the help system thinking that
665 687 this is a section and erroring out weirdly.
General Comments 0
You need to be logged in to leave comments. Login now